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