YouCompleteMe/cpp/llvm/tools/clang/test/Sema/pragma-pack-apple.c
Strahinja Val Markovic 1f51a89d39 Adding more llvm/clang files
These were ignored by git accidentally. We want ALL OF THEM since they all came
in the llvm/clang source distribution.
2012-07-05 17:55:45 -07:00

11 lines
281 B
C

// RUN: %clang -fsyntax-only %s 2>&1 | FileCheck %s
// RUN: %clang -fsyntax-only -fapple-pragma-pack %s 2>&1 | FileCheck -check-prefix=CHECK-APPLE %s
#pragma pack(push,1)
#pragma pack(2)
#pragma pack()
#pragma pack(show)
// CHECK: pack(show) == 8
// CHECK-APPLE: pack(show) == 1