diff options
Diffstat (limited to 'test/files/run/macro-expand-unapply-a/Test_2.scala')
-rw-r--r-- | test/files/run/macro-expand-unapply-a/Test_2.scala | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/run/macro-expand-unapply-a/Test_2.scala b/test/files/run/macro-expand-unapply-a/Test_2.scala new file mode 100644 index 0000000000..6169d86b19 --- /dev/null +++ b/test/files/run/macro-expand-unapply-a/Test_2.scala @@ -0,0 +1,6 @@ +import Macros._ + +object Test extends App { + List(1, 2) match { case UnapplyMacro(x, y) => println((x, y)) } + List(1, 2, 3) match { case UnapplyMacro(x, y, z) => println((x, y, z)) } +}
\ No newline at end of file |