summaryrefslogtreecommitdiff
path: root/test/neg/matthias2.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/neg/matthias2.check')
-rw-r--r--test/neg/matthias2.check4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/neg/matthias2.check b/test/neg/matthias2.check
new file mode 100644
index 0000000000..9bd56714cd
--- /dev/null
+++ b/test/neg/matthias2.check
@@ -0,0 +1,4 @@
+matthias2.scala:7: illegal cyclic reference involving value y
+ override val y: T;
+ ^
+one error found