blob: 37c8444ae9f8733c1ecf2d352819f6b4c7a83f96 [file] [log] [blame]
Daniel Dunbar88934e82011-10-05 21:04:55 +00001// RUN: %clang_cc1 -DEXPECTED_STRUCT_SIZE=5 -fpack-struct 1 %s
2// RUN: %clang_cc1 -DEXPECTED_STRUCT_SIZE=6 -fpack-struct 2 %s
3
4struct s0 {
5 int x;
6 char c;
7};
8
9int t0[sizeof(struct s0) == EXPECTED_STRUCT_SIZE ?: -1];