aboutsummaryrefslogtreecommitdiff
path: root/tests/pending/run/macro-expand-unapply-a/Test_2.scala
blob: ce52df8023b225b782fb4530941072851ba6743c (plain) (blame)
1
2
3
4
5
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)) }
}