1 /* { dg-do compile } */
2 /* { dg-options "-O0 -Wuninitialized" } */
4 extern void baz (int *);
9 int j
; /* { dg-warning "'j' may be used uninitialized in this function" "uninitialized" { xfail *-*-* } 9 } */
21 int rc
; /* { dg-warning "'rc' is used uninitialized in this function" "uninitialized" { xfail *-*-* } 21 } */
26 extern int printf(const char *, ...);
32 printf("i = %d\n", i
); /* { dg-warning "'i' is used uninitialized in this function" "uninitialized" { xfail *-*-* } 32 } */
41 if(x
) /* { dg-warning "'x' is used uninitialized in this function" "uninitialized" { xfail *-*-* } 41 } */