summaryrefslogtreecommitdiffstats
path: root/test/SemaObjC/suspicious-pragma-pack.m
blob: 125ce1d4cc1db52130d46e62acf9ed059a214711 (plain)
1
2
3
4
5
6
// RUN: %clang_cc1 -triple i686-apple-darwin9 -fsyntax-only -I%S/Inputs -verify %s

#pragma pack (push, 1) // expected-note {{previous '#pragma pack' directive that modifies alignment is here}}
#import "empty.h" // expected-warning {{non-default #pragma pack value might change the alignment of struct or union members in the included file}}

#pragma pack (pop)