summaryrefslogtreecommitdiff
path: root/test/files/neg/t0003.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t0003.check')
-rw-r--r--test/files/neg/t0003.check6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/neg/t0003.check b/test/files/neg/t0003.check
new file mode 100644
index 0000000000..5e29b189db
--- /dev/null
+++ b/test/files/neg/t0003.check
@@ -0,0 +1,6 @@
+t0003.scala:2: error: type mismatch;
+ found : (A) => (B) => B
+ required: (?) => B
+ def foo[A, B, C](l: List[A], f: A => B=>B, g: B=>B=>C): List[C] = l map (g compose f)
+ ^
+one error found