summaryrefslogtreecommitdiff
path: root/test/files
diff options
context:
space:
mode:
Diffstat (limited to 'test/files')
-rw-r--r--test/files/run/repl-parens.check5
-rw-r--r--test/files/run/repl-parens.scala2
2 files changed, 7 insertions, 0 deletions
diff --git a/test/files/run/repl-parens.check b/test/files/run/repl-parens.check
index 54c04c4dc6..944846541f 100644
--- a/test/files/run/repl-parens.check
+++ b/test/files/run/repl-parens.check
@@ -77,3 +77,8 @@ scala> foo(5)(10)(15)+foo(5)(10)(15)
res15: Int = 60
scala>
+
+scala> List(1) ++ List('a')
+res16: List[AnyVal] = List(1, a)
+
+scala>
diff --git a/test/files/run/repl-parens.scala b/test/files/run/repl-parens.scala
index 1baa9c37a5..c1cf9b50e1 100644
--- a/test/files/run/repl-parens.scala
+++ b/test/files/run/repl-parens.scala
@@ -23,5 +23,7 @@ object Test extends ReplTest {
def foo(x: Int)(y: Int)(z: Int) = x+y+z
foo(5)(10)(15)+foo(5)(10)(15)
+List(1) ++ List('a')
+
""".trim
} \ No newline at end of file