diff options
Diffstat (limited to 'test/files/run/repl-parens.scala')
-rw-r--r-- | test/files/run/repl-parens.scala | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/files/run/repl-parens.scala b/test/files/run/repl-parens.scala new file mode 100644 index 0000000000..cdfe53efe7 --- /dev/null +++ b/test/files/run/repl-parens.scala @@ -0,0 +1,14 @@ +import scala.tools.partest.ReplTest + +object Test extends ReplTest { + def code = """ +(2) +(2 + 2) +((2 + 2)) +(((2 + 2)), ((2 + 2))) +(((2 + 2)), ((2 + 2)), 2) +((((2 + 2)), ((2 + 2)), 2).productIterator ++ Iterator(3) mkString) + +55 ; ((2 + 2)) ; (1, 2, 3) + """.trim +}
\ No newline at end of file |