summaryrefslogtreecommitdiff
path: root/test/files/neg/mixins.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/mixins.check')
-rw-r--r--test/files/neg/mixins.check6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/neg/mixins.check b/test/files/neg/mixins.check
new file mode 100644
index 0000000000..805f9c4246
--- /dev/null
+++ b/test/files/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 class M
+class D extends C with M
+ ^
+one error found