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