llvm-for-llvmta/tools/clang/test/Sema/Inputs/pragma-pack2.h
Nils Hölscher 7f403f4f1e added clang
2022-04-25 13:02:35 +02:00

9 lines
188 B
C

#ifndef NO_RECORD_2
struct S { int x; };
#endif
#ifdef SET_SECOND_HEADER
#pragma pack (8) // expected-note 2 {{previous '#pragma pack' directive that modifies alignment is here}}
#endif