summaryrefslogtreecommitdiff
path: root/test/files
diff options
context:
space:
mode:
authorEugene Burmako <xeno.by@gmail.com>2013-02-08 02:32:32 -0800
committerEugene Burmako <xeno.by@gmail.com>2013-02-08 02:32:32 -0800
commit3d75d217b2cc9199c2698ed8da100fe92b1db2be (patch)
tree67f1eddbed73b00ebde93ce1dee3670e245b9a64 /test/files
parent62b9e494115cb7a0c4461dbef348c58dd69d7c2b (diff)
parent96b0eff51e18a1abd9761451e08e63c9a3eb9ea6 (diff)
downloadscala-3d75d217b2cc9199c2698ed8da100fe92b1db2be.tar.gz
scala-3d75d217b2cc9199c2698ed8da100fe92b1db2be.tar.bz2
scala-3d75d217b2cc9199c2698ed8da100fe92b1db2be.zip
Merge pull request #2085 from scalamacros/ticket/5824
SI-5824 Fix crashes in reify with _*
Diffstat (limited to 'test/files')
-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
+}