diff options
Diffstat (limited to 'tests/untried/neg/cycle-bounds.check')
-rw-r--r-- | tests/untried/neg/cycle-bounds.check | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/untried/neg/cycle-bounds.check b/tests/untried/neg/cycle-bounds.check new file mode 100644 index 000000000..d924838ae --- /dev/null +++ b/tests/untried/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 |