Sign in
gnu
/
gcc
/
refs/heads/devel/c++-contracts
/
.
/
gcc
/
testsuite
/
c-c++-common
/
cxxbitfields-6.c
blob: 273117c0589dc65e243c07499ad114b5e884349f [
file
] [
log
] [
blame
]
/* PR middle-end/50141 */
/* { dg-do compile } */
/* { dg-options "-O2 -fno-allow-store-data-races" } */
struct
S
{
int
i
:
8
;
};
void
bar
(
struct
S
,
int
);
void
foo
(
struct
S s
,
int
i
)
{
s
.
i
=
i
;
bar
(
s
,
i
);
}