summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2013-01-25 08:55:52 -0800
committerPaul Phillips <paulp@improving.org>2013-01-25 08:55:52 -0800
commitff2ca683cb75b18e8001680aa3ec752929179925 (patch)
tree6ccff18e549d08fa7a21b11b0930283a96dbea6f /test
parent8e7d9313e8923afea89bfba859535b3bee74021c (diff)
parent0a25ee3431d0314c782dd2e6620bc75c4de0d1a4 (diff)
downloadscala-ff2ca683cb75b18e8001680aa3ec752929179925.tar.gz
scala-ff2ca683cb75b18e8001680aa3ec752929179925.tar.bz2
scala-ff2ca683cb75b18e8001680aa3ec752929179925.zip
Merge pull request #1930 from aztek/ticket/5824
SI-5824 Fix crashes in reify with _*
Diffstat (limited to 'test')
-rw-r--r--test/files/run/t5824.check1
-rw-r--r--test/files/run/t5824.scala8
2 files changed, 9 insertions, 0 deletions
diff --git a/test/files/run/t5824.check b/test/files/run/t5824.check
new file mode 100644
index 0000000000..3774da60e5
--- /dev/null
+++ b/test/files/run/t5824.check
@@ -0,0 +1 @@
+a b c
diff --git a/test/files/run/t5824.scala b/test/files/run/t5824.scala
new file mode 100644
index 0000000000..2ad169e2d1
--- /dev/null
+++ b/test/files/run/t5824.scala
@@ -0,0 +1,8 @@
+import scala.reflect.runtime.universe._
+import scala.tools.reflect.Eval
+
+object Test extends App {
+ reify {
+ println("%s %s %s".format(List("a", "b", "c"): _*))
+ }.eval
+}