summaryrefslogtreecommitdiff
path: root/test/files/pos/macros.scala
blob: 8a9819597828a622d4c996add743be8fec2483dd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
object Test {

  class C { 
    def macro foo[T](xs: List[T]): T = (T, xs) match {
      case (t1: glob.Type, t2: glob.Tree) => t2
    }
  }
}