summaryrefslogtreecommitdiff
path: root/test/neg/bug139.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/neg/bug139.check')
-rw-r--r--test/neg/bug139.check5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/neg/bug139.check b/test/neg/bug139.check
new file mode 100644
index 0000000000..8f8d7421a2
--- /dev/null
+++ b/test/neg/bug139.check
@@ -0,0 +1,5 @@
+bug139.scala:5: error overriding type T in class A;
+ type T in class B may not be parameterized
+ type T[A] = Int;
+ ^
+one error found