Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Sema / pragma-pack-4.c
blob6b4c2feeb53a29c81d5b22a2f57763372bbf3b48
1 // RUN: %clang_cc1 -triple i686-apple-darwin9 %s -fsyntax-only -verify
2 // RUN: %clang_cc1 -triple x86_64-apple-darwin9 %s -fsyntax-only -verify
3 // expected-no-diagnostics
5 #pragma pack(4)
7 struct s0 {
8 long long a __attribute__((aligned(8)));
9 long long b __attribute__((aligned(8)));
10 unsigned int c __attribute__((aligned(8)));
11 int d[12];
14 struct s1 {
15 int a[15];
16 struct s0 b;
19 int arr0[((sizeof(struct s1) % 64) == 0) ? 1 : -1];