summaryrefslogtreecommitdiff
path: root/test/files/neg/sammy_expected.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/sammy_expected.check')
-rw-r--r--test/files/neg/sammy_expected.check6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/neg/sammy_expected.check b/test/files/neg/sammy_expected.check
new file mode 100644
index 0000000000..3b76aabdd2
--- /dev/null
+++ b/test/files/neg/sammy_expected.check
@@ -0,0 +1,6 @@
+sammy_expected.scala:4: error: type mismatch;
+ found : String => Int
+ required: F[Object,Int]
+ def wrong: F[Object, Int] = (x: String) => 1
+ ^
+one error found