summaryrefslogtreecommitdiff
path: root/test/files/neg/t5903b.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t5903b.check')
-rw-r--r--test/files/neg/t5903b.check9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/files/neg/t5903b.check b/test/files/neg/t5903b.check
new file mode 100644
index 0000000000..faeb73ad03
--- /dev/null
+++ b/test/files/neg/t5903b.check
@@ -0,0 +1,9 @@
+Test_2.scala:4: error: type mismatch;
+ found : Int
+ required: String
+ case t"$x" => println(x)
+ ^
+Test_2.scala:4: error: not found: value x
+ case t"$x" => println(x)
+ ^
+two errors found