From 21b147f7caf8b558b00044f493cf9da392c7e30e Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Fri, 14 Feb 2003 14:39:24 +0000 Subject: Initial version. --- test/files/pos/maxim1.scala | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 test/files/pos/maxim1.scala (limited to 'test/files/pos/maxim1.scala') diff --git a/test/files/pos/maxim1.scala b/test/files/pos/maxim1.scala new file mode 100644 index 0000000000..01a7c05e9a --- /dev/null +++ b/test/files/pos/maxim1.scala @@ -0,0 +1,5 @@ +module test { + def f(x: Int)(y: Int) = x + y; + def y: Int => Int = f(2); + def main = y(1); +} -- cgit v1.2.3