summaryrefslogtreecommitdiff
path: root/test/files/neg/t5106.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t5106.check')
-rw-r--r--test/files/neg/t5106.check11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/files/neg/t5106.check b/test/files/neg/t5106.check
new file mode 100644
index 0000000000..ac16041cf7
--- /dev/null
+++ b/test/files/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