summaryrefslogtreecommitdiff
path: root/test/files/run/repl-paste-3.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2011-07-03 19:52:51 +0000
committerPaul Phillips <paulp@improving.org>2011-07-03 19:52:51 +0000
commitd858fc14ad79b9c8bbe066aec70ded8fa62b0275 (patch)
tree2dad390100ee9025b0f5445af6ba032dddb0fee5 /test/files/run/repl-paste-3.scala
parent835be39b534accb0d341d0629662f5685ae2cfef (diff)
downloadscala-d858fc14ad79b9c8bbe066aec70ded8fa62b0275.tar.gz
scala-d858fc14ad79b9c8bbe066aec70ded8fa62b0275.tar.bz2
scala-d858fc14ad79b9c8bbe066aec70ded8fa62b0275.zip
Logic bug in repl :paste parsing, no review.
Diffstat (limited to 'test/files/run/repl-paste-3.scala')
-rw-r--r--test/files/run/repl-paste-3.scala8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/files/run/repl-paste-3.scala b/test/files/run/repl-paste-3.scala
new file mode 100644
index 0000000000..3f26799ccb
--- /dev/null
+++ b/test/files/run/repl-paste-3.scala
@@ -0,0 +1,8 @@
+import scala.tools.partest.ReplTest
+
+object Test extends ReplTest {
+ def code = """
+println(3)
+ List(1,2)
+ """
+} \ No newline at end of file