aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/neg/cyclics.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/neg/cyclics.scala')
-rw-r--r--tests/untried/neg/cyclics.scala6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/untried/neg/cyclics.scala b/tests/untried/neg/cyclics.scala
new file mode 100644
index 000000000..adfc94e4e
--- /dev/null
+++ b/tests/untried/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 }
+}