Bug path
test_4
‘test_4’
:
events 1-2
41
r.ptr = malloc (sizeof (int)); /* { dg-message "allocated here" } */
^~~~~~~~~~~~~~~~~~~~~
|
(1) allocated here
42
} /* { dg-warning "leak of 'r.ptr'" } */
~
|
(2) ‘r.ptr’ leaks here; was allocated at (1)