summaryrefslogtreecommitdiff
path: root/test/files/neg/parstar.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/parstar.scala')
-rw-r--r--test/files/neg/parstar.scala10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/files/neg/parstar.scala b/test/files/neg/parstar.scala
new file mode 100644
index 0000000000..dd8d108447
--- /dev/null
+++ b/test/files/neg/parstar.scala
@@ -0,0 +1,10 @@
+package test;
+
+object test {
+ class A
+ class B
+
+ def m(a: A, b: B*) = b.toArray
+ def m(a: A*, b: B ) = a.toArray
+ def m(a: A*, b: B*) = a.toArray
+}