Wattributes-10.c: Add -fno-common option on hppa*-*-hpux*.
[official-gcc.git] / gcc / testsuite / c-c++-common / uninit-G.c
blob1a06f0665c19d9c18c5526894834cae8fa2cd447
1 /* Test we do not warn about initializing variable with address of self in the initialization. */
2 /* { dg-do compile } */
3 /* { dg-options "-O -Wuninitialized" } */
5 void g(void*);
6 void f()
8 void *i = &i;
9 g(i);