summaryrefslogtreecommitdiff
path: root/test/files/run/interpreter.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/interpreter.scala')
-rw-r--r--test/files/run/interpreter.scala7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/run/interpreter.scala b/test/files/run/interpreter.scala
index 22dbf4754d..c59ce9f758 100644
--- a/test/files/run/interpreter.scala
+++ b/test/files/run/interpreter.scala
@@ -75,6 +75,13 @@ val x20 = 1
val two = one + x5
+
+// interior syntax errors should *not* go into multi-line input mode.
+// both of the following should abort immediately:
+def x => y => z
+[1,2,3]
+
+
</code>.text