blob: d82eb1ed5c91ca69593981f79705826cf5475672 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
/* PR middle-end/71581 */
/* { dg-do compile } */
/* { dg-options "-Wuninitialized" } */
_Complex float
f1 (void)
{
float x;
return x; /* { dg-warning "is used uninitialized in this function" } */
}
_Complex double
f2 (void)
{
double x;
return x; /* { dg-warning "is used uninitialized in this function" } */
}
_Complex int
f3 (void)
{
int x;
return x; /* { dg-warning "is used uninitialized in this function" } */
}
|