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
[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git]
/
clang
/
test
/
Sema
/
fpack-struct.c
blob
63766e9c9dbd87ff7f113f66572515fae40a2a1a
1
// RUN: %clang_cc1 -DEXPECTED_STRUCT_SIZE=5 -fpack-struct=1 %s
2
// RUN: %clang_cc1 -DEXPECTED_STRUCT_SIZE=6 -fpack-struct=2 %s
3
4
struct
s0
{
5
int
x
;
6
char
c
;
7
};
8
9
int
t0
[
sizeof
(
struct
s0
) ==
EXPECTED_STRUCT_SIZE
?: -
1
];