1 /* { dg-do compile } */
2 /* { dg-options "-std=c23" } */
9 } __attribute__((scalar_storage_order("big-endian")));
12 } __attribute__((scalar_storage_order("little-endian")));
14 /* Neither of these should warn about incompatible scalar storage order
15 as NULL pointers are compatiable with both endian. */
16 struct Sb
*pb
= nullptr; /* { dg-bogus "" } */
17 struct Sl
*pl
= nullptr; /* { dg-bogus "" } */