summaryrefslogtreecommitdiff
path: root/test/pos/eta.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/pos/eta.scala')
-rw-r--r--test/pos/eta.scala5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/pos/eta.scala b/test/pos/eta.scala
new file mode 100644
index 0000000000..67e6c0f080
--- /dev/null
+++ b/test/pos/eta.scala
@@ -0,0 +1,5 @@
+module test {
+
+def sum(f: Int => Int)(x: Int, y: Int): Int = 0;
+def g = sum;
+} \ No newline at end of file