Eli Friedman | 19bda3a | 2011-11-02 01:53:16 +0000 | [diff] [blame] | 1 | // RUN: %clang -fsyntax-only %s 2>&1 | FileCheck %s |
2 | // RUN: %clang -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 |