c++: Implement for namespace statics CWG 2867 - Order of initialization for structure...
[official-gcc.git] / gcc / testsuite / gcc.dg / warn-1.c
blobd5acca2b9ae174cfd2da148e3b68888bc3fb4752
1 /* The compiler used to say passing arg 0 of, which is wrong. */
2 /* Radar 3069179 */
4 /* { dg-options "-Wno-old-style-definition -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" } */