aboutsummaryrefslogtreecommitdiff
path: root/tests/neg/t1625.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/neg/t1625.scala')
-rw-r--r--tests/neg/t1625.scala3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/neg/t1625.scala b/tests/neg/t1625.scala
new file mode 100644
index 000000000..aabb1ecea
--- /dev/null
+++ b/tests/neg/t1625.scala
@@ -0,0 +1,3 @@
+trait T3 {
+ def foo(x: String*, y: String*, c: String*): Int // error // error: varargs parameter must come last
+} \ No newline at end of file