Allow trace to assign in two steps

With field sensitivity on arrays, the element can be initialized in two
steps, first the field f then the field array.
This commit is contained in:
Romain Brenguier 2019-08-06 07:32:55 +01:00
parent e86810e6b2
commit 91de1649a0
1 changed files with 2 additions and 1 deletions

View File

@ -11,7 +11,8 @@ trace-values.c
^ my_nested\[1.*\].f=5 .*$
^ junk\$object=7 .*$
^ dynamic_object1\[1.*\]=8 .*$
^ my_nested\[1.*\]=\{ .f=0, .array=\{ 0, 4, 0 \} \} .*$
^ my_nested\[1.*\](=\{ )?.f=0[ ,]
^ my_nested\[1.*\](=\{ .f=0, )?.array=\{ 0, 4, 0 \}
^VERIFICATION FAILED$
--
^warning: ignoring