summaryrefslogtreecommitdiff
path: root/test/files/neg/t8044-b.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t8044-b.scala')
-rw-r--r--test/files/neg/t8044-b.scala4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/neg/t8044-b.scala b/test/files/neg/t8044-b.scala
new file mode 100644
index 0000000000..fb2e921ac9
--- /dev/null
+++ b/test/files/neg/t8044-b.scala
@@ -0,0 +1,4 @@
+
+trait T {
+ def g = 42 match { case `Oops` : Int => } // must be varish
+}