summaryrefslogtreecommitdiff
path: root/test/files/neg/missing-arg-list.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/missing-arg-list.scala')
-rw-r--r--test/files/neg/missing-arg-list.scala13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/files/neg/missing-arg-list.scala b/test/files/neg/missing-arg-list.scala
new file mode 100644
index 0000000000..c422dd32fe
--- /dev/null
+++ b/test/files/neg/missing-arg-list.scala
@@ -0,0 +1,13 @@
+
+trait T {
+
+ def id(i: Int) = i
+ def f(i: Int)(j: Int) = i+j
+ def g(i: Int, j: Int, k: Int) = i+j+k
+ def h(i: Int, j: Int, k: Int)(implicit s: String) = s*(i+j+k)
+
+ val w = id
+ val x = f
+ val y = g
+ val z = h
+}