summaryrefslogtreecommitdiff
path: root/test/files/neg/S6.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/S6.check')
-rw-r--r--test/files/neg/S6.check4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/neg/S6.check b/test/files/neg/S6.check
new file mode 100644
index 0000000000..6303e4c8e2
--- /dev/null
+++ b/test/files/neg/S6.check
@@ -0,0 +1,4 @@
+S6.scala:11: illegal cyclic reference involving type S
+ type S <: T;
+ ^
+one error found