LWG 3035. std::allocator's constructors should be constexpr
[official-gcc.git] / gcc / testsuite / gcc.dg / pr71581.c
blobd82eb1ed5c91ca69593981f79705826cf5475672
1 /* PR middle-end/71581 */
2 /* { dg-do compile } */
3 /* { dg-options "-Wuninitialized" } */
5 _Complex float
6 f1 (void)
8 float x;
9 return x; /* { dg-warning "is used uninitialized in this function" } */
12 _Complex double
13 f2 (void)
15 double x;
16 return x; /* { dg-warning "is used uninitialized in this function" } */
19 _Complex int
20 f3 (void)
22 int x;
23 return x; /* { dg-warning "is used uninitialized in this function" } */