summaryrefslogtreecommitdiff
path: root/test/files/neg/bug875.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/bug875.check')
-rw-r--r--test/files/neg/bug875.check13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/files/neg/bug875.check b/test/files/neg/bug875.check
new file mode 100644
index 0000000000..63ad0f7eb0
--- /dev/null
+++ b/test/files/neg/bug875.check
@@ -0,0 +1,13 @@
+bug875.scala:3: error: _*-argument may not appear after other arguments matching a *-parameter
+ val ys = List(1, 2, 3, xs: _*)
+ ^
+bug875.scala:6: error: _*-argument does not correspond to *-parameter
+ mkList(xs: _*)
+ ^
+bug875.scala:15: error: _*-argument may not appear after other arguments matching a *-parameter
+ f(true, 1, xs: _*)
+ ^
+bug875.scala:16: error: _*-argument may not appear after other arguments matching a *-parameter
+ g(1, xs:_*)
+ ^
+four errors found