diff options
Diffstat (limited to 'tests/untried/neg/t4460c.check')
-rw-r--r-- | tests/untried/neg/t4460c.check | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/untried/neg/t4460c.check b/tests/untried/neg/t4460c.check new file mode 100644 index 000000000..4e96711b8 --- /dev/null +++ b/tests/untried/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 |