aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/neg/t6771b.check
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/neg/t6771b.check')
-rw-r--r--tests/untried/neg/t6771b.check6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/untried/neg/t6771b.check b/tests/untried/neg/t6771b.check
new file mode 100644
index 000000000..ba99e9178
--- /dev/null
+++ b/tests/untried/neg/t6771b.check
@@ -0,0 +1,6 @@
+t6771b.scala:14: error: type mismatch;
+ found : x.type (with underlying type String)
+ required: Test.a.type
+ b = b match { case x => x }
+ ^
+one error found