summaryrefslogtreecommitdiff
path: root/test/files/run/t9027.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t9027.scala')
-rw-r--r--test/files/run/t9027.scala15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/files/run/t9027.scala b/test/files/run/t9027.scala
new file mode 100644
index 0000000000..26238147da
--- /dev/null
+++ b/test/files/run/t9027.scala
@@ -0,0 +1,15 @@
+
+// used to be parsed as .println
+object Test extends App {
+ import reflect.runtime._, universe._
+
+ val trees = List(
+ q"""<a/><b/>
+ println("hello, world.")""",
+ q"""<a/>
+ <b/>
+ <c/>
+ println("hello, world.")"""
+ )
+ trees foreach println
+}