1 /* Reproducer for PR analyzer/97258: we should report the double-free
2 inside a static callback if the callback escapes. */
6 static void callback_1 (void *p
)
9 free (p
); /* { dg-warning "double-'free' of 'p'" } */
16 static const struct ops ops_1
= {
20 extern void registration (const void *);
22 void register_1 (void)
24 registration (&ops_1
);