6 void *result
= malloc (1024);
11 calls_free (void *victim
)
13 free (victim
); /* { dg-warning "double-'free' of 'victim'" } */
14 /* TODO: this would be better emitted at the callsite,
15 for such a simple wrapper. */
20 void *ptr
= calls_malloc ();
22 calls_free (ptr
); /* BUG: double-'free'. */