aboutsummaryrefslogtreecommitdiff
path: root/tests/pending/run/t5273_1_newpatmat.scala
blob: 8eec4de2789761dfd7eb504c78e7f35966a279b7 (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 App {
  reify {
    List(1, 2, 3) match {
      case foo :: bar :: _ => println(foo * bar)
      case _ => println("this is getting out of hand!")
    }
  }.eval
}