[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / Sema / pragma-pack-apple.c
blob426d984e8ae773edc717a26b2afc9b8ba1f1810f
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
4 #pragma pack(push,1)
5 #pragma pack(2)
6 #pragma pack()
7 #pragma pack(show)
9 // CHECK: pack(show) == 8
10 // CHECK-APPLE: pack(show) == 1