diff options
Diffstat (limited to 'tests/disabled/macro/run/t5273_1_oldpatmat.scala')
-rw-r--r-- | tests/disabled/macro/run/t5273_1_oldpatmat.scala | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/disabled/macro/run/t5273_1_oldpatmat.scala b/tests/disabled/macro/run/t5273_1_oldpatmat.scala new file mode 100644 index 000000000..1ed2ce79a --- /dev/null +++ b/tests/disabled/macro/run/t5273_1_oldpatmat.scala @@ -0,0 +1,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 +} |