gcc/testsuite/gcc.target/aarch64/pr105549.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-options "-save-temps" } */ |
| 3 | |
| 4 | enum e { E1 }; |
| 5 | typedef enum e e __attribute__((aligned(16))); |
| 6 | union u { |
| 7 | __attribute__((aligned(2), packed)) e a : 1; |
| 8 | int x[4]; |
| 9 | }; |
| 10 | union u g(int a, union u u2) { return u2; } |
| 11 | |
| 12 | /* { dg-final { scan-assembler "stp\tx1, x2, \\\[sp, 8\\\]" } } */ |