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
Testsuite: fix analyzer tests on Darwin
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
analyzer
/
malloc-ipa-4.c
blob
82d50bd3c9367966a9075bc68e4c660025caf311
1
#include <stdlib.h>
2
3
static void
calls_free
(
int
*
q
)
4
{
5
free
(
q
);
6
}
7
8
void
test
(
void
*
p
)
9
{
10
calls_free
(
p
);
11
12
free
(
p
);
/* { dg-warning "double-'free' of 'p'" } */
13
}