2014-11-24 09:15:30 +00:00
|
|
|
// RUN: %clang_cc1 -fsyntax-only %s 2>&1 | FileCheck %s
|
|
|
|
// RUN: %clang_cc1 -fsyntax-only -fapple-pragma-pack %s 2>&1 | FileCheck -check-prefix=CHECK-APPLE %s
|
2012-04-14 14:01:31 +00:00
|
|
|
|
|
|
|
#pragma pack(push,1)
|
|
|
|
#pragma pack(2)
|
|
|
|
#pragma pack()
|
|
|
|
#pragma pack(show)
|
|
|
|
|
|
|
|
// CHECK: pack(show) == 8
|
|
|
|
// CHECK-APPLE: pack(show) == 1
|