Sign in
gnu
/
gcc
/
e5cfb9cac1d7aba9a8ea73bfe7922cfaff9d61f3
/
.
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
20051012-1.c
blob: d43aeda82855816b09f61d4af3ae898a0704585c [
file
] [
log
] [
blame
]
/* { dg-require-effective-target untyped_assembly } */
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
;
}