summaryrefslogtreecommitdiff
path: root/test/files/neg/t6771b.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t6771b.check')
-rw-r--r--test/files/neg/t6771b.check6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/neg/t6771b.check b/test/files/neg/t6771b.check
new file mode 100644
index 0000000000..ba99e9178d
--- /dev/null
+++ b/test/files/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