repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Skip several analyzer socket tests on hppa*-*-hpux*
[official-gcc.git]
/
gcc
/
testsuite
/
c-c++-common
/
analyzer
/
pr94399.c
blob
e897c04a007ef9935ac5717ac1d14e6cbfe9812a
1
#include <stdlib.h>
2
3
#define _cleanup_(f) __attribute__((cleanup(f)))
4
5
static
inline
void
freep
(
void
**
p
) {
6
free
(*
p
);
7
}
8
9
void
test
(
void
) {
10
_cleanup_
(
freep
)
void
*
ptr
;
11
12
ptr
=
malloc
(
3
);
13
}
/* { dg-bogus "leak" } */