pragma-pack-apple.c revision 651f13cea278ec967336033dd032faef0e9fc2ec
1// RUN: %clang_cc1 -fsyntax-only %s 2>&1 | FileCheck %s
2// RUN: %clang_cc1 -fsyntax-only -fapple-pragma-pack %s 2>&1 | FileCheck -check-prefix=CHECK-APPLE %s
3
4#pragma pack(push,1)
5#pragma pack(2)
6#pragma pack()
7#pragma pack(show)
8
9// CHECK: pack(show) == 8
10// CHECK-APPLE: pack(show) == 1
11