Sign in
gnu
/
gcc
/
12a4785c9120beeef42f1bded52cc2674e206f57
/
.
/
gcc
/
testsuite
/
gcc.dg
/
analyzer
/
uninit-pr94713.c
blob: e3bb8ceb5b3812a035838734c77aacbb4272b1ef [
file
] [
log
] [
blame
]
void
f1
(
int
*);
void
f2
(
int
);
int
foo
(
void
)
{
int
*
p
;
/* { dg-message "region created on stack here" } */
f1
(
p
);
/* { dg-warning "use of uninitialized value 'p'" } */
f2
(
p
[
0
]);
/* { dg-warning "use of uninitialized value 'p'" } */
return
0
;
}