2014-08-04 Ed Schonberg <schonberg@adacore.com>
[official-gcc.git] / gcc / testsuite / gcc.dg / uninit-I.c
blob3f80d961c1422cd9a648fc61afb6b7052d624277
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" "" } */