summaryrefslogtreecommitdiff
path: root/test/files/neg/aladdin1055.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/aladdin1055.check')
-rw-r--r--test/files/neg/aladdin1055.check7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/neg/aladdin1055.check b/test/files/neg/aladdin1055.check
new file mode 100644
index 0000000000..41782ae987
--- /dev/null
+++ b/test/files/neg/aladdin1055.check
@@ -0,0 +1,7 @@
+Test_1.scala:2: warning: match may not be exhaustive.
+It would fail on the following input: (_ : this.<local child>)
+ def foo(t: A.T) = t match {
+ ^
+error: No warnings can be incurred under -Xfatal-warnings.
+one warning found
+one error found