blob: 761f65b485b1f97238133f990c9147cf2124415e (
plain)
1
2
3
4
5
6
7
8
|
/* { dg-do compile } */
/* { dg-options "-Wuninitialized" } */
int sys_msgctl (void)
{
struct { int mode; } setbuf;
return setbuf.mode; /* { dg-warning "'setbuf\.mode' is used uninitialized in this function" } */
}
|