Sign in
gnu
/
gcc
/
refs/heads/master
/
.
/
gcc
/
testsuite
/
gcc.dg
/
Wnonnull-8.c
blob: b24fd67cebc43dc344817a3c238691ef2073bb76 [
file
] [
log
] [
blame
]
/* PR c/108986 */
/* { dg-do compile } */
/* { dg-options "-Wall" } */
void
foo
(
int
a
[
static
7
])
{
}
int
main
()
{
foo
((
int
*)
0
);
/* { dg-warning "argument 1 null where non-null expected" } */
}