summaryrefslogtreecommitdiff
path: root/test/files/run/interpreter.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/interpreter.check')
-rw-r--r--test/files/run/interpreter.check19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/files/run/interpreter.check b/test/files/run/interpreter.check
index be5e7c7dd9..90745ee56f 100644
--- a/test/files/run/interpreter.check
+++ b/test/files/run/interpreter.check
@@ -133,3 +133,22 @@ scala> two: Int = 2
scala>
scala>
+scala>
+scala>
+scala> <console>:1: error: '=' expected but '=>' found.
+def x => y => z
+ ^
+<console>:1: error: illegal start of simple expression
+def x => y => z
+ ^
+
+scala> <console>:1: error: identifier expected but integer literal found.
+[1,2,3]
+ ^
+<console>:1: error: ']' expected but eof found.
+[1,2,3]
+ ^
+
+scala>
+scala>
+scala>