aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/neg/t0003.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/neg/t0003.scala')
-rw-r--r--tests/untried/neg/t0003.scala3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/untried/neg/t0003.scala b/tests/untried/neg/t0003.scala
new file mode 100644
index 000000000..e41cfa9e9
--- /dev/null
+++ b/tests/untried/neg/t0003.scala
@@ -0,0 +1,3 @@
+object Test {
+ def foo[A, B, C](l: List[A], f: A => B=>B, g: B=>B=>C): List[C] = l map (g compose f)
+}