Sign in
llvm
/
llvm-archive
/
47f46514d69ad808308539dc6c69b907868fcf8a
/
.
/
llvm-gcc-4.2
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
20051012-1.c
blob: f12f42913cc2f86fbf57cfbab118bb1d04a0788b [
file
] [
log
] [
blame
]
extern
void
abort
(
void
);
struct
type
{
int
*
a
;
int
b
:
16
;
unsigned
int
p
:
9
;
}
t
;
unsigned
int
foo
()
{
return
t
.
p
;
}
int
main
(
void
)
{
t
.
p
=
8
;
if
(
foo
(
t
)
!=
8
)
abort
();
return
0
;
}