1 /* Test scalar_storage_order attribute and pointer fields */
4 /* { dg-options "-Wno-pedantic" } */
6 #if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
7 struct __attribute__((scalar_storage_order("big-endian"))) Rec
12 struct __attribute__((scalar_storage_order("little-endian"))) Rec
20 struct Rec r
= { &argc
};
23 if (__builtin_memcmp (&r
.p
, &p
, sizeof (int *)) != 0)