Skip to content

Commit dc19f1a

Browse files
committed
Change the expected output of a regression test
but I think is a bit more meaningful now. We do not actually see the value of `p->next` but at least it is consistent (before `p->next` was different from `tmp.next`).
1 parent bd1e41d commit dc19f1a

File tree

1 file changed

+2
-3
lines changed
  • regression/memory-analyzer/pointer_to_struct_01

1 file changed

+2
-3
lines changed

regression/memory-analyzer/pointer_to_struct_01/test.desc

+2-3
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@ CORE
22
main.gb
33
--breakpoint checkpoint --symbols p
44
struct S tmp;
5-
tmp = \{ \.next=\(\(struct S \*\)(NULL|0)\) \};
6-
p = &tmp;
7-
p->next = &tmp;
5+
tmp = \{ \.next=\(\(struct S \*\)0\) \};
6+
p = \&tmp;
87
^EXIT=0$
98
^SIGNAL=0$

0 commit comments

Comments
 (0)