Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git] / gcc / testsuite / gcc.dg / pr71581.c
blobdd71dde9eac7318887ea0eb16991cc607f1feb46
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" } */
12 _Complex double
13 f2 (void)
15 double x;
16 return x; /* { dg-warning "is used uninitialized" } */
19 _Complex int
20 f3 (void)
22 int x;
23 return x; /* { dg-warning "is used uninitialized" } */