1 // RUN: %clang_cc1 -triple x86_64-pc-linux-gnu -fsyntax-only -verify %s 2 3 // PR5599 4 5 void frob(void *); 6 7 void foo(void) { 8 float x[4]; 9 char y[__alignof__(x) == 16 ? 1 : -1]; 10 frob(y); 11 } 12 13 // PR5637 14 15 typedef __attribute__((aligned(16))) struct { 16 unsigned long long w[3]; 17 } UINT192; 18 19 UINT192 ten2mk192M[] = { 20 {{0xcddd6e04c0592104ULL, 0x0fcf80dc33721d53ULL, 0xa7c5ac471b478423ULL}}, 21 {{0xcddd6e04c0592104ULL, 0x0fcf80dc33721d53ULL, 0xa7c5ac471b478423ULL}}, 22 {{0xcddd6e04c0592104ULL, 0x0fcf80dc33721d53ULL, 0xa7c5ac471b478423ULL}} 23 }; 24 25 short chk1[sizeof(ten2mk192M) == 80 ? 1 : -1]; 26