blob: ce35b41e9418f19937cdb175083c7c44fd66e7bb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
/* 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 arg 1 of" } */
}
|