| 1 | |
|---|---|
| 2 | #ifndef NO_RECORD_2 |
| 3 | struct S { int x; }; |
| 4 | #endif |
| 5 | |
| 6 | #ifdef SET_SECOND_HEADER |
| 7 | #pragma pack (8) // expected-note 2 {{previous '#pragma pack' directive that modifies alignment is here}} |
| 8 | #endif |
| 9 |
| 1 | |
|---|---|
| 2 | #ifndef NO_RECORD_2 |
| 3 | struct S { int x; }; |
| 4 | #endif |
| 5 | |
| 6 | #ifdef SET_SECOND_HEADER |
| 7 | #pragma pack (8) // expected-note 2 {{previous '#pragma pack' directive that modifies alignment is here}} |
| 8 | #endif |
| 9 |