Sign in
llvm
/
llvm-archive
/
48649d2c83b557841c9e5c978d9ab5af13cb52e5
/
.
/
llvm-gcc-4.0
/
gcc
/
testsuite
/
gcc.dg
/
warn-1.c
blob: dc2cd0e7c71687e1357cd53393c2656c016afed6 [
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-warning "passing argument 1 of" } */
}