blob: 82d50bd3c9367966a9075bc68e4c660025caf311 [file] [log] [blame]
#include <stdlib.h>
static void calls_free(int *q)
{
free(q);
}
void test(void *p)
{
calls_free(p);
free(p); /* { dg-warning "double-'free' of 'p'" } */
}