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
/
2003-08-29-StructLayoutBug.c
blob
0f45fc94e340a1e517f8c3026ef11276e7f3e52f
1
// RUN: %clang_cc1 -emit-llvm %s -o /dev/null
2
3
struct
foo
{
4
unsigned int
I
:
1
;
5
unsigned char
J
[
1
];
6
unsigned int
K
:
1
;
7
};
8
9
void
test
(
struct
foo
*
X
) {}
10