summaryrefslogtreecommitdiff
path: root/test/pos/lambda.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/pos/lambda.scala')
-rw-r--r--test/pos/lambda.scala8
1 files changed, 0 insertions, 8 deletions
diff --git a/test/pos/lambda.scala b/test/pos/lambda.scala
deleted file mode 100644
index 187b3f9783..0000000000
--- a/test/pos/lambda.scala
+++ /dev/null
@@ -1,8 +0,0 @@
-object test {
-
- def apply[a,b](f: a => b): a => b = x: a => f(x);
-
- def twice[a](f: a => a): a => a = x: a => f(f(x));
-
- def main = apply[Int,Int](twice[Int](x: Int => x))(1);
-} \ No newline at end of file