Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.dg
/
warn
/
unit-1.C
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" } */
}