Sign in
gnu
/
gcc
/
19220ca6aa79921cc431e41f25986e16410c7a6a
/
.
/
gcc
/
testsuite
/
gcc.dg
/
warn-1.c
blob: 9d0080171d22ee2ef7aa2c45dab39cfe87fa0180 [
file
] [
log
] [
blame
]
/* The compiler used to say passing arg 0 of, which is wrong. */
/* Radar 3069179 */
/* { dg-options "-O3" } */
static
void
foo
(
p
)
int
p
;
{
/* { dg-warning "passing arg 1 of" } */
}
void
bar
(
void
)
{
void
*
vp
;
foo
(
vp
);
/* { dg-warning "" } */
}