summaryrefslogtreecommitdiff
path: root/test/files/neg/S6.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/S6.scala')
-rw-r--r--test/files/neg/S6.scala12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/files/neg/S6.scala b/test/files/neg/S6.scala
new file mode 100644
index 0000000000..dfe53d22bd
--- /dev/null
+++ b/test/files/neg/S6.scala
@@ -0,0 +1,12 @@
+/* This program puts the compiler into an endless loop
+*/
+trait T1 {
+ type T;
+}
+trait T2 {
+ type S;
+ type T <: S;
+}
+abstract class S6() extends T1 with T2 {
+ type S <: T;
+}