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