1 /* Test support of scalar_storage_order attribute */
3 /* { dg-do compile } */
9 #if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
10 struct __attribute__((scalar_storage_order("big-endian"))) Rec
15 struct __attribute__((scalar_storage_order("little-endian"))) Rec
25 a
.v
= 0, x
= va_arg (a
.v
, int); /* { dg-error "type|reverse storage order" } */