Skip to content

Commit 1f79d21

Browse files
author
Matthias Güdemann
committed
regression test with multiple JARs/classpath
1 parent 122db27 commit 1f79d21

File tree

6 files changed

+27
-0
lines changed

6 files changed

+27
-0
lines changed

regression/cbmc-java/jar-file3/A.jar

721 Bytes
Binary file not shown.

regression/cbmc-java/jar-file3/B.jar

721 Bytes
Binary file not shown.

regression/cbmc-java/jar-file3/C.jar

934 Bytes
Binary file not shown.
709 Bytes
Binary file not shown.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
public class jarfile3
2+
{
3+
public class A
4+
{
5+
int x=1;
6+
}
7+
public class B
8+
{
9+
int x=1;
10+
}
11+
12+
void f(int i)
13+
{
14+
A a=new A();
15+
B b=new B();
16+
assert(a.x==1);
17+
assert(b.x==1);
18+
}
19+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
CORE
2+
C.jar
3+
--function jarfile3.f -classpath A.jar:B.jar
4+
^EXIT=0$
5+
^SIGNAL=0$
6+
^VERIFICATION SUCCESSFUL
7+
--
8+
^warning: ignoring

0 commit comments

Comments
 (0)