aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/curried.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2014-03-15 22:59:58 +0100
committerDmitry Petrashko <dmitry.petrashko@gmail.com>2014-03-18 16:06:33 +0100
commit46856320f4e21d94b3c5c29a921efac40e12421f (patch)
treefab3c498965408775c8036af64d0602deca99559 /tests/pos/curried.scala
parent1dbf020c43639b0c37e9005f2692871d39676ac7 (diff)
downloaddotty-46856320f4e21d94b3c5c29a921efac40e12421f.tar.gz
dotty-46856320f4e21d94b3c5c29a921efac40e12421f.tar.bz2
dotty-46856320f4e21d94b3c5c29a921efac40e12421f.zip
Re-enabled and renamed tests
CreateCompanionObjectTests were re-enabled. They failed in a previous version but succeed again in the latest commit. Also uncurry.scala got renamed to curried.scala.
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)
+}