PR tree-optimization/84740
[official-gcc.git] / gcc / testsuite / gcc.dg / uninit-I.c
blobe59b2add74dfd9b68aae607efee65bc3b825be6c
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -Wuninitialized" } */
4 int sys_msgctl (void)
6 struct { int mode; } setbuf;
7 return setbuf.mode; /* { dg-warning "'setbuf\.mode' is used" } */