summaryrefslogtreecommitdiff
path: root/test/files/neg/t6666b.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t6666b.check')
-rw-r--r--test/files/neg/t6666b.check4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/neg/t6666b.check b/test/files/neg/t6666b.check
new file mode 100644
index 0000000000..090bee800d
--- /dev/null
+++ b/test/files/neg/t6666b.check
@@ -0,0 +1,4 @@
+t6666b.scala:6: error: Implementation restriction: access of object TreeOrd$1 from object TreeOrd$2, would require illegal premature access to the unconstructed `this` of class Test
+ implicit object TreeOrd extends Ordering[K](){
+ ^
+one error found