aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/pos/virtpatmat_obj_in_case.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/pos/virtpatmat_obj_in_case.scala')
-rw-r--r--tests/untried/pos/virtpatmat_obj_in_case.scala5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/untried/pos/virtpatmat_obj_in_case.scala b/tests/untried/pos/virtpatmat_obj_in_case.scala
new file mode 100644
index 000000000..63bb98dd5
--- /dev/null
+++ b/tests/untried/pos/virtpatmat_obj_in_case.scala
@@ -0,0 +1,5 @@
+class ObjInCase {
+ 0 match {
+ case _ => object o
+ }
+}