summaryrefslogtreecommitdiff
path: root/test/files/neg/cyclics.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/cyclics.scala')
-rw-r--r--test/files/neg/cyclics.scala6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/neg/cyclics.scala b/test/files/neg/cyclics.scala
new file mode 100644
index 0000000000..adfc94e4e5
--- /dev/null
+++ b/test/files/neg/cyclics.scala
@@ -0,0 +1,6 @@
+object test {
+ type A = List[A]
+ type B[T] = List[B[B[T]]]
+ trait I { type E }
+ type C = I { type E = C }
+}