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