summaryrefslogtreecommitdiff
path: root/test/files/run/macro-expand-unapply-a/Test_2.scala
blob: 6169d86b19075743bb7664851a620b331081d73d (plain) (blame)
1
2
3
4
5
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)) }
}