diff options
Diffstat (limited to 'test/neg/S6.scala')
-rw-r--r-- | test/neg/S6.scala | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/neg/S6.scala b/test/neg/S6.scala new file mode 100644 index 0000000000..dfe53d22bd --- /dev/null +++ b/test/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; +} |