aboutsummaryrefslogtreecommitdiff
path: root/tests/disabled/macro/run/macro-expand-unapply-a/Test_2.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/disabled/macro/run/macro-expand-unapply-a/Test_2.scala')
-rw-r--r--tests/disabled/macro/run/macro-expand-unapply-a/Test_2.scala6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/disabled/macro/run/macro-expand-unapply-a/Test_2.scala b/tests/disabled/macro/run/macro-expand-unapply-a/Test_2.scala
new file mode 100644
index 000000000..ce52df802
--- /dev/null
+++ b/tests/disabled/macro/run/macro-expand-unapply-a/Test_2.scala
@@ -0,0 +1,6 @@
+import Macros._
+
+object Test extends dotty.runtime.LegacyApp {
+ 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