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