summaryrefslogtreecommitdiff
path: root/test/files/neg/bug3098.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/bug3098.check')
-rw-r--r--test/files/neg/bug3098.check6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/neg/bug3098.check b/test/files/neg/bug3098.check
new file mode 100644
index 0000000000..403da281c8
--- /dev/null
+++ b/test/files/neg/bug3098.check
@@ -0,0 +1,6 @@
+b.scala:3: error: match is not exhaustive!
+missing combination C
+
+ def f = (null: T) match {
+ ^
+one error found