summaryrefslogtreecommitdiff
path: root/clang/test/Sema/pragma-pack-apple.c
blob: 5b33c03c38e773cf90649c5601518492ac82c4e8 (about) (plain)
1
2
3
4
5
6
7
8
9
10
// 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