svn merge -r102224:107263 svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-3_4-branch
[official-gcc.git] / gcc / testsuite / gcc.dg / warn-1.c
blob9d0080171d22ee2ef7aa2c45dab39cfe87fa0180
1 /* The compiler used to say passing arg 0 of, which is wrong. */
2 /* Radar 3069179 */
4 /* { dg-options "-O3" } */
6 static void foo (p)
7 int p;
8 { /* { dg-warning "passing arg 1 of" } */
11 void bar (void)
13 void *vp;
15 foo (vp); /* { dg-warning "" } */