Bug path
f0
āf0ā
:
events 1-2
5
FILE * fp = fopen(str, "r"); /* { dg-message "opened here" } */
^~~~~~~~~~~~~~~
|
(1) opened here
[...]
8
} /* { dg-warning "leak of FILE 'fp'" } */
~
|
(2) āfpā leaks here; was opened at (1)