gcc/testsuite/gcc.dg/sso/init5.h
raw| 1 | struct __attribute__((scalar_storage_order("little-endian"))) R1 |
| 2 | { |
| 3 | int I; |
| 4 | int A[3]; |
| 5 | }; |
| 6 | |
| 7 | struct __attribute__((scalar_storage_order("big-endian"))) R2 |
| 8 | { |
| 9 | int I; |
| 10 | int A[3]; |
| 11 | }; |
| 12 | |
| 13 | struct R1 My_R1 = { 0x12345678, { 0xAB0012, 0xCD0034, 0xEF0056 } }; |
| 14 | struct R2 My_R2 = { 0x12345678, { 0xAB0012, 0xCD0034, 0xEF0056 } }; |