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" } */
4
5 void g(void*);
6 void f()
7 {
8 void *i = &i;
9 g(i);
10 }