summaryrefslogtreecommitdiffstats
path: root/tests/java5/varargs/SimpleVarargs.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/java5/varargs/SimpleVarargs.java')
-rw-r--r--tests/java5/varargs/SimpleVarargs.java9
1 files changed, 7 insertions, 2 deletions
diff --git a/tests/java5/varargs/SimpleVarargs.java b/tests/java5/varargs/SimpleVarargs.java
index bcd1e1bdf..c32047ab6 100644
--- a/tests/java5/varargs/SimpleVarargs.java
+++ b/tests/java5/varargs/SimpleVarargs.java
@@ -2,12 +2,17 @@ public class SimpleVarargs {
public SimpleVarargs(Integer... strings) {}
- public void foo(Integer... strings) { }
+ public void foo(Integer... strings) {
+ moo();
+ }
//public void bar(Integer[] array) { }
- public void fooInt(int i,Integer... strings) {}
+ public void fooInt(int i,Integer... strings) {
+ moo();
+ }
+ private void moo() {}
//public void barInt(int i,Integer[] strings) {}
public static void main(String[] argv) {