1/* { dg-do compile } */
2/* { dg-options "-O2 -Wuninitialized" } */
3
4struct a { int mode; };
5int sys_msgctl (void)
6{
7  struct a setbuf;  /* { dg-warning "'setbuf.mode' is used" "" { xfail *-*-* } } */
8  return setbuf.mode;
9}
10
11