PR tree-optimization/83369 - Missing diagnostics during inlining
[official-gcc.git] / gcc / testsuite / gcc.dg / warn-1.c
blob6db4ae5cd6ce5312011cada2c623b5244a77188c
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;
11 void bar (void)
13 void *vp;
15 foo (vp); /* { dg-bogus "passing argument 1 of" } */