summaryrefslogtreecommitdiff
path: root/test/files/neg/t4460c.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t4460c.check')
-rw-r--r--test/files/neg/t4460c.check7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/neg/t4460c.check b/test/files/neg/t4460c.check
new file mode 100644
index 0000000000..4e96711b8b
--- /dev/null
+++ b/test/files/neg/t4460c.check
@@ -0,0 +1,7 @@
+t4460c.scala:4: error: overloaded method constructor B with alternatives:
+ (a: String)B <and>
+ (x: Int)B
+ cannot be applied to ()
+ def this(a: String) = this()
+ ^
+one error found