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
/
pr96639.c
blob
b95217df6c41d8e08085e444fbe43a0c0918d01f
1
void
*
calloc
(
__SIZE_TYPE__
,
__SIZE_TYPE__
);
2
3
int
4
x7
(
void
)
5
{
6
int
**
md
= (
int
**)
calloc
(
1
,
sizeof
(
void
*));
7
8
return
md
[
0
][
0
];
/* { dg-warning "possibly-NULL" "unchecked deref" } */
9
/* { dg-warning "leak of 'md'" "leak" { target *-*-* } .-1 } */
10
}