summaryrefslogtreecommitdiff
path: root/test/files/run/t5272_2_oldpatmat.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t5272_2_oldpatmat.scala')
-rw-r--r--test/files/run/t5272_2_oldpatmat.scala10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/files/run/t5272_2_oldpatmat.scala b/test/files/run/t5272_2_oldpatmat.scala
new file mode 100644
index 0000000000..be79cde18f
--- /dev/null
+++ b/test/files/run/t5272_2_oldpatmat.scala
@@ -0,0 +1,10 @@
+import scala.reflect.runtime.universe._
+import scala.tools.reflect.Eval
+
+object Test extends App {
+ reify {
+ 2 match {
+ case x => println("okay" + x)
+ }
+ }.eval
+} \ No newline at end of file