Skip to content

Commit e6fbd43

Browse files
committed
Make test independent of string table entry ordering
The program generated by virtual-function removal depends on where 'B', 'C', 'D', 'E' appear in the string table as there are multiple semantically equivalent resolutions of virtual functions. The test should pass either way.
1 parent 7d247da commit e6fbd43

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

regression/cbmc-java/virtual7/test.desc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ test.class
33
--show-goto-functions --function test.main
44
^EXIT=0$
55
^SIGNAL=0$
6-
IF.*"java::C".*THEN GOTO
7-
IF.*"java::D".*THEN GOTO
6+
IF.*"java::(B|C)".*THEN GOTO
7+
IF.*"java::(D|E)".*THEN GOTO
88
IF.*"java::A".*THEN GOTO

0 commit comments

Comments
 (0)