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