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
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
clang
/
test
/
CodeGenCXX
/
2007-10-01-StructResize.cpp
blob
8e5750d3c4ef488526da26e2744e3dd332a6622f
1
// RUN: %clang_cc1 -emit-llvm %s -o /dev/null
2
3
#pragma pack(4)
4
5
struct
Bork
{
6
unsigned int
f1
:
3
;
7
unsigned int
f2
:
30
;
8
};
9
10
int
Foo
(
Bork
*
hdr
) {
11
hdr
->
f1
=
7
;
12
hdr
->
f2
=
927
;
13
}