Merge from mainline.
[official-gcc.git] / gcc / testsuite / gcc.dg / uninit-13.c
blob168939ab8573889b3c40eeb2c6c63080840e286a
1 /* { dg-do compile } */
2 /* { dg-options "-O -Wuninitialized" } */
4 typedef _Complex float C;
5 C foo()
7 C f;
8 __imag__ f = 0;
9 return f; /* { dg-warning "" "uninit" { xfail *-*-* } } */