summaryrefslogtreecommitdiff
path: root/test/files/run/t4950.check
diff options
context:
space:
mode:
authorSimon Ochsenreither <simon@ochsenreither.de>2014-10-23 08:52:22 +0200
committerSimon Ochsenreither <simon@ochsenreither.de>2014-10-23 14:59:50 +0200
commitdd090168b75e32405662862246a0e36c3a979f8b (patch)
treefae1226c3b325dc3970a892ee5bd29a7c0377999 /test/files/run/t4950.check
parent850899b1c9347e804763a258f64d54cef0ffd69a (diff)
downloadscala-dd090168b75e32405662862246a0e36c3a979f8b.tar.gz
scala-dd090168b75e32405662862246a0e36c3a979f8b.tar.bz2
scala-dd090168b75e32405662862246a0e36c3a979f8b.zip
SI-4950 Add tests, looks like it has been fixed earlier
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