aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/neg/t6666d.check
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/neg/t6666d.check')
-rw-r--r--tests/untried/neg/t6666d.check4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/untried/neg/t6666d.check b/tests/untried/neg/t6666d.check
new file mode 100644
index 000000000..b4785f012
--- /dev/null
+++ b/tests/untried/neg/t6666d.check
@@ -0,0 +1,4 @@
+t6666d.scala:7: 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