aboutsummaryrefslogtreecommitdiff
path: root/tests/disabled/macro/run/t5273_1_oldpatmat.scala
blob: 1ed2ce79af975ef275b5d2d6a6b41fc1ce8c7a69 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
import scala.reflect.runtime.universe._
import scala.tools.reflect.Eval

object Test extends dotty.runtime.LegacyApp {
  reify {
    List(1, 2, 3) match {
      case foo :: bar :: _ => println(foo * bar)
      case _ => println("this is getting out of hand!")
    }
  }.eval
}