blob: c7a71293250ea6d0dcca917f5dadd18d23f8cad7 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-O2 -Wuninitialized" } */
struct a { int mode; };
int sys_msgctl (void)
{
struct a setbuf;
return setbuf.mode; /* { dg-warning "'setbuf.a::mode' is used" } */
}