summaryrefslogtreecommitdiff
path: root/test/files/neg/cycle-bounds.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/cycle-bounds.check')
-rw-r--r--test/files/neg/cycle-bounds.check4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/neg/cycle-bounds.check b/test/files/neg/cycle-bounds.check
new file mode 100644
index 0000000000..d924838aec
--- /dev/null
+++ b/test/files/neg/cycle-bounds.check
@@ -0,0 +1,4 @@
+cycle-bounds.scala:5: error: illegal cyclic reference involving type T
+class NotOk[T <: Comparable[_ <: T]]
+ ^
+one error found