Mercurial > hg > CbC > CbC_llvm
view clang/test/SemaObjC/suspicious-pragma-pack.m @ 180:680fa57a2f20
fix compile errors.
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 30 May 2020 17:44:06 +0900 |
parents | 1d019706d866 |
children |
line wrap: on
line source
// RUN: %clang_cc1 -Wpragma-pack-suspicious-include -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 changes the alignment of struct or union members in the included file}} #pragma pack (pop)