Mercurial > hg > CbC > CbC_llvm
annotate clang/test/SemaObjC/suspicious-pragma-pack.m @ 207:2e18cbf3894f
LLVM12
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 08 Jun 2021 06:07:14 +0900 |
parents | 1d019706d866 |
children |
rev | line source |
---|---|
150 | 1 // RUN: %clang_cc1 -Wpragma-pack-suspicious-include -triple i686-apple-darwin9 -fsyntax-only -I%S/Inputs -verify %s |
2 | |
3 #pragma pack (push, 1) // expected-note {{previous '#pragma pack' directive that modifies alignment is here}} | |
4 #import "empty.h" // expected-warning {{non-default #pragma pack value changes the alignment of struct or union members in the included file}} | |
5 | |
6 #pragma pack (pop) |