diff options
Diffstat (limited to 'test/pos/maxim1.scala')
-rw-r--r-- | test/pos/maxim1.scala | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/pos/maxim1.scala b/test/pos/maxim1.scala new file mode 100644 index 0000000000..01a7c05e9a --- /dev/null +++ b/test/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); +} |