Sign in
llvm
/
llvm-test-suite
/
8e6f3ef1b8f30cca66fd1a4e35d16bdfd0c622ba
/
.
/
SingleSource
/
Regression
/
C
/
gcc-c-torture
/
execute
/
20051012-1.c
blob: 786f27a4b4e920376a9b1d2a5936e4cec5d603c6 [
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
;
}