summaryrefslogtreecommitdiff
path: root/test/files/neg/mixins.check
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2006-02-09 16:26:09 +0000
committerMartin Odersky <odersky@gmail.com>2006-02-09 16:26:09 +0000
commit8adbe6a58562d6dd5c893b88b395ac46c2425e42 (patch)
tree5b9623f7d6ce2d2a61054f4d1b4b86baba376fe9 /test/files/neg/mixins.check
parent7fc1dcd161f34f9ce8edd34bfc1bf1c97294dd5f (diff)
downloadscala-8adbe6a58562d6dd5c893b88b395ac46c2425e42.tar.gz
scala-8adbe6a58562d6dd5c893b88b395ac46c2425e42.tar.bz2
scala-8adbe6a58562d6dd5c893b88b395ac46c2425e42.zip
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