gcc/testsuite/gcc.dg/pr117806.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-excess-errors "warnings about ignored 'packed' attribute" { target default_packed } } */ |
| 3 | /* { dg-options "-std=c23" } */ |
| 4 | |
| 5 | struct Test { |
| 6 | double D __attribute__((packed,aligned(4))); |
| 7 | } x; |
| 8 | struct Test { |
| 9 | double D __attribute__((packed,aligned(4))); |
| 10 | } x; |
| 11 | struct Test { |
| 12 | double D __attribute__((packed,aligned(4))); |
| 13 | } x; |
| 14 |