summaryrefslogtreecommitdiff
path: root/test/files/neg/t2442.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t2442.check')
-rw-r--r--test/files/neg/t2442.check5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/files/neg/t2442.check b/test/files/neg/t2442.check
new file mode 100644
index 0000000000..b45ce3a2f5
--- /dev/null
+++ b/test/files/neg/t2442.check
@@ -0,0 +1,5 @@
+t2442.scala:4: error: match may not be exhaustive.
+It would fail on the following input: THREE
+ def f(e: MyEnum) = e match {
+ ^
+one error found