1 /* Test support of scalar_storage_order attribute */
3 /* { dg-do compile } */
5 #if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
6 #define REV_ENDIANNESS __attribute__((scalar_storage_order("big-endian")))
8 #define REV_ENDIANNESS __attribute__((scalar_storage_order("little-endian")))
11 typedef struct tIp6Addr
13 unsigned int s6_addr32
[4];
22 tIp6Addr addr6
; /* { dg-warning "type punning toggles" } */