6 int *q
= (int *) malloc (1024);
9 return 42; /* { dg-warning "leak of 'q'" } */
10 // FIXME: would be better to report it at the close-of-scope
16 void *q
= malloc (1024);
21 return q
; /* { dg-warning "leak of 'q'" } */
22 // FIXME: would be better to report it at the close-of-scope