gcc/testsuite/gcc.target/aarch64/aapcs64/ice_dfp_5.c
raw| 1 | /* { dg-do compile { target aarch64*-*-* } } */ |
| 2 | |
| 3 | struct S |
| 4 | { |
| 5 | union |
| 6 | { |
| 7 | _Decimal128 b; |
| 8 | } a; |
| 9 | }; |
| 10 | |
| 11 | struct S s; |
| 12 | |
| 13 | extern struct S a[5]; |
| 14 | extern struct S check (struct S, struct S *, struct S); |
| 15 | extern void checkx (struct S); |
| 16 | |
| 17 | void test (void) |
| 18 | { |
| 19 | checkx (check (s, &a[1], a[2])); |
| 20 | } |