aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/neg/t5106.check
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/neg/t5106.check')
-rw-r--r--tests/untried/neg/t5106.check11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/untried/neg/t5106.check b/tests/untried/neg/t5106.check
new file mode 100644
index 000000000..ac16041cf
--- /dev/null
+++ b/tests/untried/neg/t5106.check
@@ -0,0 +1,11 @@
+t5106.scala:3: error: type mismatch;
+ found : Int(4)
+ required: String
+ val (n, l): (String, Int) = (4, "")
+ ^
+t5106.scala:3: error: type mismatch;
+ found : String("")
+ required: Int
+ val (n, l): (String, Int) = (4, "")
+ ^
+two errors found