summaryrefslogtreecommitdiff
path: root/test/files/neg/t5340.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t5340.check')
-rw-r--r--test/files/neg/t5340.check6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/neg/t5340.check b/test/files/neg/t5340.check
new file mode 100644
index 0000000000..2de19293c4
--- /dev/null
+++ b/test/files/neg/t5340.check
@@ -0,0 +1,6 @@
+t5340.scala:17: error: type mismatch;
+ found : MyApp.r.E
+ required: MyApp.s.E
+ println(b: s.E)
+ ^
+one error found