Skip several analyzer socket tests on hppa*-*-hpux*
[official-gcc.git] / gcc / testsuite / c-c++-common / analyzer / pr94399.c
blobe897c04a007ef9935ac5717ac1d14e6cbfe9812a
1 #include <stdlib.h>
3 #define _cleanup_(f) __attribute__((cleanup(f)))
5 static inline void freep(void **p) {
6 free(*p);
9 void test(void) {
10 _cleanup_(freep) void *ptr;
12 ptr = malloc(3);
13 } /* { dg-bogus "leak" } */