Skip to content

Commit b9392c5

Browse files
committed
Add regression tests for temp stack variable array issue
1 parent 767003e commit b9392c5

File tree

5 files changed

+24
-0
lines changed

5 files changed

+24
-0
lines changed
Binary file not shown.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
public class External {
2+
public void Accept(int... args) {
3+
4+
}
5+
}
Binary file not shown.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
public class Primary {
2+
private External ex = new External();
3+
4+
public void Run() {
5+
this.ex.Accept(new int[]{0, 1, 2});
6+
assert(false);
7+
}
8+
9+
public void main() {
10+
this.Run();
11+
}
12+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
CORE
2+
Primary.class
3+
--function Primary.main
4+
^\[java::Primary.Run:\(\)V\.assertion\.1\] assertion at file Primary\.java line 6 function java::Primary.Run:\(\)V bytecode-index 22: FAILURE$
5+
^VERIFICATION FAILED$
6+
--
7+
^warning: ignoring

0 commit comments

Comments
 (0)