aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/curried.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pos/curried.scala')
-rw-r--r--tests/pos/curried.scala6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/pos/curried.scala b/tests/pos/curried.scala
new file mode 100644
index 000000000..a11a0652d
--- /dev/null
+++ b/tests/pos/curried.scala
@@ -0,0 +1,6 @@
+object UnCurryTest {
+
+ def f(x: Int)(y: Int) = x + y
+
+ f(1)(2)
+}