summaryrefslogtreecommitdiff
path: root/test/files/run/t4950.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t4950.check')
-rw-r--r--test/files/run/t4950.check9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/files/run/t4950.check b/test/files/run/t4950.check
new file mode 100644
index 0000000000..3f3a302b62
--- /dev/null
+++ b/test/files/run/t4950.check
@@ -0,0 +1,9 @@
+Type in expressions to have them evaluated.
+Type :help for more information.
+
+scala> val 1 = 2
+scala.MatchError: 2 (of class java.lang.Integer)
+
+scala> val List(1) = List(1)
+
+scala> :quit