LWG 3035. std::allocator's constructors should be constexpr
[official-gcc.git] / gcc / testsuite / gcc.dg / uninit-17-O0.c
blob0eaef0533676cdd26e05696edb5921850b630222
1 /* { dg-do compile } */
2 /* { dg-options "-Wuninitialized" } */
4 typedef _Complex float C;
5 C foo(int cond)
7 C f;
8 __imag__ f = 0;
9 if (cond)
11 __real__ f = 1;
12 return f;
14 return f;