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
/
2007-04-05-PackedBitFields.c
blob
0f40fc42505d75e3bc5dd21af49494c9e14253a1
1
// RUN: %clang_cc1 %s -emit-llvm -o -
2
3
# define pck __attribute__((packed))
4
5
6
struct
pck E
{
7
unsigned long long
l
,
8
i
:
12
,
9
j
:
23
,
10
k
:
29
; };
11
12
struct
E e1
;
13
14
void
foo
(
void
) {
15
e1
.
k
=
5
;
16
}