1 /* Test support of scalar_storage_order attribute */
3 /* { dg-do compile } */
7 #if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
8 struct __attribute__((scalar_storage_order("big-endian"))) Rec
13 struct __attribute__((scalar_storage_order("little-endian"))) Rec
19 struct Rec r
= { &i
}; /* { dg-error "element is not constant" } */