blob: d5acca2b9ae174cfd2da148e3b68888bc3fb4752 [file] [log] [blame]
/* The compiler used to say passing arg 0 of, which is wrong. */
/* Radar 3069179 */
/* { dg-options "-Wno-old-style-definition -O3" } */
static void foo (p)
int p;
{
}
void bar (void)
{
void *vp;
foo (vp); /* { dg-bogus "passing argument 1 of" } */
}