Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
20031211-1.c
blob: 2361509a096acae2027d74ec4dda6072da5216fb [
file
] [
log
] [
blame
]
struct
a
{
unsigned
int
bitfield
:
1
;
};
unsigned
int
x
;
main
()
{
struct
a a
=
{
0
};
x
=
0xbeef
;
a
.
bitfield
|=
x
;
if
(
a
.
bitfield
!=
1
)
abort
();
exit
(
0
);
}