summaryrefslogtreecommitdiff
path: root/test/files/run/t7871/Test_2.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t7871/Test_2.scala')
-rw-r--r--test/files/run/t7871/Test_2.scala6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/run/t7871/Test_2.scala b/test/files/run/t7871/Test_2.scala
new file mode 100644
index 0000000000..3a0b68b568
--- /dev/null
+++ b/test/files/run/t7871/Test_2.scala
@@ -0,0 +1,6 @@
+object Test extends App {
+ import NewQuasiquotes._
+ SomeTree match {
+ case nq"$x + $y" => println((x, y))
+ }
+}