summaryrefslogtreecommitdiff
path: root/test/files/run/toolbox-varargs/Varargs.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/toolbox-varargs/Varargs.java')
-rw-r--r--test/files/run/toolbox-varargs/Varargs.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/files/run/toolbox-varargs/Varargs.java b/test/files/run/toolbox-varargs/Varargs.java
new file mode 100644
index 0000000000..da1dbbacc9
--- /dev/null
+++ b/test/files/run/toolbox-varargs/Varargs.java
@@ -0,0 +1,8 @@
+package p;
+
+public class Varargs {
+ public Varargs(String... args) {}
+ public static void staticMethod(String... args) {}
+
+ public void instanceMethod(String... args) {}
+}