Skip to content

Commit 8d88c97

Browse files
committed
Enable previously-failing test Linking7/member-name-mismatch
Now that value-set soundly simplifies member-of-cast-of-struct, this test works as expected. This also improves the specificity of the two tests in this directory. This is disabled under SMT2 for the same reason as the existing test.desc -- it involves a struct-to-struct cast, which SMT2's `convert_typecast` doesn't handle yet.
1 parent c1314ae commit 8d88c97

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
KNOWNBUG
1+
CORE
22
main.c
33
module2.c
44
^EXIT=10$
55
^SIGNAL=0$
66
^VERIFICATION FAILED$
7+
line 21 assertion \*g\.a == 42: SUCCESS
8+
line 22 assertion \*g\.c == 41: FAILURE
79
^\*\* 1 of 2 failed
810
--
911
^warning: ignoring
10-
--
11-
This is either a bug in goto-symex or value_sett (where the invariant fails).

regression/cbmc/Linking7/test.desc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,7 @@ module.c
55
^SIGNAL=0$
66
^VERIFICATION FAILED$
77
^\*\* 1 of 2 failed
8+
line 21 assertion \*g\.a == 42: SUCCESS
9+
line 22 assertion \*g\.b == 41: FAILURE
810
--
911
^warning: ignoring

scripts/delete_failing_smt2_solver_tests

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ rm Float6/test.desc
3636
rm Float8/test.desc
3737
rm Linking4/test.desc
3838
rm Linking7/test.desc
39+
rm Linking7/member-name-mismatch.desc
3940
rm Malloc19/test.desc
4041
rm Malloc23/test.desc
4142
rm Malloc24/test.desc

0 commit comments

Comments
 (0)