aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/neg/t0152.check
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/neg/t0152.check')
-rw-r--r--tests/untried/neg/t0152.check6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/untried/neg/t0152.check b/tests/untried/neg/t0152.check
new file mode 100644
index 000000000..a7909bf14
--- /dev/null
+++ b/tests/untried/neg/t0152.check
@@ -0,0 +1,6 @@
+t0152.scala:10: error: illegal inheritance;
+ object boom inherits different type instances of class Value:
+Value[Int] and Value[String]
+ object boom extends Value[java.lang.String]("foo") with PlusOne
+ ^
+one error found