Sign in
gnu
/
gcc
/
2ce0608ca3dca30518bec525c435f7bc4d7f9b70
/
.
/
gcc
/
testsuite
/
gcc.dg
/
warn-1.c
blob: 6db4ae5cd6ce5312011cada2c623b5244a77188c [
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
;
{
}
void
bar
(
void
)
{
void
*
vp
;
foo
(
vp
);
/* { dg-bogus "passing argument 1 of" } */
}