diff options
Diffstat (limited to 'test/files/neg/cyclics.check')
-rw-r--r-- | test/files/neg/cyclics.check | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/files/neg/cyclics.check b/test/files/neg/cyclics.check new file mode 100644 index 0000000000..c240387d2f --- /dev/null +++ b/test/files/neg/cyclics.check @@ -0,0 +1,10 @@ +cyclics.scala:2: error: illegal cyclic reference involving type A + type A = List[A] + ^ +cyclics.scala:3: error: illegal cyclic reference involving type B + type B[T] = List[B[B[T]]] + ^ +cyclics.scala:5: error: illegal cyclic reference involving type E + type C = I { type E = C } + ^ +three errors found |