diff options
Diffstat (limited to 'test/files/neg/bug987.check')
-rw-r--r-- | test/files/neg/bug987.check | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/files/neg/bug987.check b/test/files/neg/bug987.check new file mode 100644 index 0000000000..3e9c19217d --- /dev/null +++ b/test/files/neg/bug987.check @@ -0,0 +1,9 @@ +bug987.scala:15: error: the type intersection B[D] with B[C] is malformed + --- because --- +no common type instance of base types B[C] and B[D] exists +class E extends D +^ +bug987.scala:20: error: illegal cyclic reference involving class D +class F extends D +^ +two errors found |