7 global_ptr
= malloc (1024); /* { dg-message "allocated here" } */
8 *(int *)&global_ptr
= i
; /* { dg-warning "leak of 'global_ptr'" } */
13 void *p
= malloc (1024); /* { dg-message "allocated here" } */
18 free (global_ptr
); /* { dg-warning "double-'free' of 'p'" } */