repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git]
/
clang
/
test
/
CodeGen
/
2008-01-04-WideBitfield.c
blob
e1c7a38a12e6f7e72a475baa8113b7a4b372915d
1
// RUN: %clang_cc1 -emit-llvm -o - %s
2
// PR1386
3
typedef
unsigned long long uint64_t
;
4
struct
X
{
5
unsigned char
pad
:
4
;
6
uint64_t
a
:
64
;
7
}
__attribute__
((
packed
))
x
;
8
9
uint64_t
f
(
void
)
10
{
11
return
x
.
a
;
12
}