Sign in
cobalt
/
cobalt
/
cc19caab3101a025a2ae4db11601ed3496c7d730
/
.
/
third_party
/
llvm-project
/
clang
/
test
/
CodeGen
/
2008-01-21-PackedBitFields.c
blob: a649475e8df20b4a0637bc6d6690ae7bbf0b73db [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 %s -emit-llvm -o -
typedef
double
Al1Double
__attribute__
((
aligned
(
1
)));
struct
x
{
int
a
:
23
;
Al1Double
v
;
};
struct
x X
=
{
5
,
3.0
};
double
foo
()
{
return
X
.
v
;
}