Sign in
gnu
/
gcc
/
e5cfb9cac1d7aba9a8ea73bfe7922cfaff9d61f3
/
.
/
gcc
/
testsuite
/
gcc.dg
/
torture
/
pr38271.c
blob: 2c64a9b34a624e0f04b7f4987ccc0109d42ab266 [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-Wuninitialized" } */
struct
xxx
{
short
a
;
short
b
;
void
*
c
;
};
void
bar
(
struct
xxx
);
void
foo
(
struct
xxx
*
p
,
int
i
)
{
struct
xxx s0
=
*
p
;
struct
xxx s
=
s0
;
if
(
s
.
a
)
i
++;
bar
(
s
);
}