summaryrefslogtreecommitdiff
path: root/test/files/neg/t5735.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t5735.check')
-rw-r--r--test/files/neg/t5735.check6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/neg/t5735.check b/test/files/neg/t5735.check
new file mode 100644
index 0000000000..f6e0028044
--- /dev/null
+++ b/test/files/neg/t5735.check
@@ -0,0 +1,6 @@
+t5735.scala:6: error: type mismatch;
+ found : (x: Int)Int <and> => String
+ required: Int
+ val z: Int = a
+ ^
+one error found