summaryrefslogtreecommitdiff
path: root/test/files/neg/t8044-b.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t8044-b.check')
-rw-r--r--test/files/neg/t8044-b.check4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/neg/t8044-b.check b/test/files/neg/t8044-b.check
new file mode 100644
index 0000000000..4a93e9a772
--- /dev/null
+++ b/test/files/neg/t8044-b.check
@@ -0,0 +1,4 @@
+t8044-b.scala:3: error: Pattern variables must start with a lower-case letter. (SLS 8.1.1.)
+ def g = 42 match { case `Oops` : Int => } // must be varish
+ ^
+one error found