]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/Sema/align-x86-64.c
Vendor import of clang release_34 branch r197841 (effectively, 3.4 RC3):
[FreeBSD/FreeBSD.git] / test / Sema / align-x86-64.c
1 // RUN: %clang_cc1 -triple x86_64-pc-linux-gnu -fsyntax-only -verify %s
2 // expected-no-diagnostics
3
4 // PR5637
5
6 typedef __attribute__((aligned(16))) struct {
7   unsigned long long w[3];
8 } UINT192;
9
10 UINT192 ten2mk192M[] = {
11     {{0xcddd6e04c0592104ULL, 0x0fcf80dc33721d53ULL, 0xa7c5ac471b478423ULL}},
12     {{0xcddd6e04c0592104ULL, 0x0fcf80dc33721d53ULL, 0xa7c5ac471b478423ULL}},
13     {{0xcddd6e04c0592104ULL, 0x0fcf80dc33721d53ULL, 0xa7c5ac471b478423ULL}}
14 };
15
16 short chk1[sizeof(ten2mk192M) == 80 ? 1 : -1];