diff options
Diffstat (limited to 'tests/untried/neg/mixins.check')
-rw-r--r-- | tests/untried/neg/mixins.check | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/untried/neg/mixins.check b/tests/untried/neg/mixins.check new file mode 100644 index 000000000..f310ca596 --- /dev/null +++ b/tests/untried/neg/mixins.check @@ -0,0 +1,6 @@ +mixins.scala:9: error: illegal inheritance; superclass C + is not a subclass of the superclass B + of the mixin trait M +class D extends C with M + ^ +one error found |