Skip to content

Commit b4c222a

Browse files
committed
fix test
1 parent 3deeef5 commit b4c222a

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

testData/results/pkg/TestVarArgCalls.dec

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,22 @@ public class TestVarArgCalls {
2323
public void printComplex(String fmt, String[]... params) {
2424
System.out.println(String.format(fmt, (Object[])params));// 27
2525
}// 28
26+
27+
public class Parent {
28+
protected void test(TestVarArgCalls.Test... test) {
29+
}// 33
30+
31+
class Child extends TestVarArgCalls.Parent {
32+
public void vararg() {
33+
this.test(TestVarArgCalls.Test.A, TestVarArgCalls.Test.B);// 38
34+
}// 39
35+
}
36+
}
37+
38+
public static enum Test {
39+
A,
40+
B;
41+
}
2642
}
2743

2844
class 'pkg/TestVarArgCalls' {
@@ -160,6 +176,28 @@ class 'pkg/TestVarArgCalls' {
160176
}
161177
}
162178

179+
class 'pkg/TestVarArgCalls$Parent' {
180+
method 'test ([Lpkg/TestVarArgCalls$Test;)V' {
181+
0 28
182+
}
183+
}
184+
185+
class 'pkg/TestVarArgCalls$Parent$Child' {
186+
method 'vararg ()V' {
187+
0 32
188+
7 32
189+
8 32
190+
9 32
191+
d 32
192+
e 32
193+
f 32
194+
11 32
195+
12 32
196+
13 32
197+
14 33
198+
}
199+
}
200+
163201
Lines mapping:
164202
5 <-> 5
165203
6 <-> 6
@@ -178,3 +216,6 @@ Lines mapping:
178216
24 <-> 21
179217
27 <-> 24
180218
28 <-> 25
219+
33 <-> 29
220+
38 <-> 33
221+
39 <-> 34

0 commit comments

Comments
 (0)