Sign in
llvm
/
llvm-archive
/
089ca8750d7cd1f1ec96968922bf4bcfe223bb3a
/
.
/
clang-tests
/
gcc-4_2-testsuite
/
src
/
gcc.dg
/
warn-1.c
blob: 2f554bb884602bb2a5886ce77e3838f527b25fa3 [
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 "incompatible pointer to integer conversion" } */
}