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 *-*-* } } */
21 return rc
; /* { dg-warning "'rc' is used uninitialized in this function" } */
25 extern int printf(const char *, ...);
31 printf("i = %d\n", i
); /* { dg-warning "'i' is used uninitialized in this function" } */
40 if(x
) /* { dg-warning "'x' is used uninitialized in this function" } */