James Molloy | bfd7a52 | 2012-05-01 14:57:16 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -DEXPECTED_STRUCT_SIZE=5 -fpack-struct=1 %s |
2 | // RUN: %clang_cc1 -DEXPECTED_STRUCT_SIZE=6 -fpack-struct=2 %s | ||||
Daniel Dunbar | 88934e8 | 2011-10-05 21:04:55 +0000 | [diff] [blame] | 3 | |
4 | struct s0 { | ||||
5 | int x; | ||||
6 | char c; | ||||
7 | }; | ||||
8 | |||||
9 | int t0[sizeof(struct s0) == EXPECTED_STRUCT_SIZE ?: -1]; |