aboutsummaryrefslogtreecommitdiff
path: root/tests/pos
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pos')
-rw-r--r--tests/pos/varargsInMethodsT1625/curriedPosExample.scala3
-rw-r--r--tests/pos/varargsInMethodsT1625/onlyOneVarArgs.scala3
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/pos/varargsInMethodsT1625/curriedPosExample.scala b/tests/pos/varargsInMethodsT1625/curriedPosExample.scala
new file mode 100644
index 000000000..c614f2dee
--- /dev/null
+++ b/tests/pos/varargsInMethodsT1625/curriedPosExample.scala
@@ -0,0 +1,3 @@
+trait T2 {
+ def foo(x: String, y: String*)(z: Boolean*)(u: Int, l: Int*): Int
+} \ No newline at end of file
diff --git a/tests/pos/varargsInMethodsT1625/onlyOneVarArgs.scala b/tests/pos/varargsInMethodsT1625/onlyOneVarArgs.scala
new file mode 100644
index 000000000..834960b4a
--- /dev/null
+++ b/tests/pos/varargsInMethodsT1625/onlyOneVarArgs.scala
@@ -0,0 +1,3 @@
+trait T1 {
+ def foo(x: String*): Int
+} \ No newline at end of file