diff options
Diffstat (limited to 'test/Sema/Inputs/pragma-pack2.h')
-rw-r--r-- | test/Sema/Inputs/pragma-pack2.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/Sema/Inputs/pragma-pack2.h b/test/Sema/Inputs/pragma-pack2.h new file mode 100644 index 000000000000..a41621544d75 --- /dev/null +++ b/test/Sema/Inputs/pragma-pack2.h @@ -0,0 +1,8 @@ + +#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 |