diff options
Diffstat (limited to 'clang/test/Sema/Inputs/pragma-pack2.h')
-rw-r--r-- | clang/test/Sema/Inputs/pragma-pack2.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/test/Sema/Inputs/pragma-pack2.h b/clang/test/Sema/Inputs/pragma-pack2.h new file mode 100644 index 00000000000..11036133a15 --- /dev/null +++ b/clang/test/Sema/Inputs/pragma-pack2.h @@ -0,0 +1,6 @@ + +#ifdef SET_SECOND_HEADER +#pragma pack (8) // expected-note 2 {{previous '#pragma pack' directive that modifies alignment is here}} +#endif + +struct S { int x; }; |