summaryrefslogtreecommitdiff
path: root/test/files/neg/t0259.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t0259.check')
-rw-r--r--test/files/neg/t0259.check7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/neg/t0259.check b/test/files/neg/t0259.check
new file mode 100644
index 0000000000..8c6ce1d269
--- /dev/null
+++ b/test/files/neg/t0259.check
@@ -0,0 +1,7 @@
+t0259.scala:4: error: double definition:
+constructor TestCase3:(String*)test.TestCase3 and
+constructor TestCase3:((String, Int)*)test.TestCase3 at line 3
+have same type after erasure: (Seq)test.TestCase3
+ def this( groups: String*) = this()
+ ^
+one error found