Debian Codegraph @

gcc/testsuite/gcc.dg/sso-21.c

raw
1 /* PR debug/113777 */
2 /* Reported by Zdenek Sojka <[email protected]> */
3
4 /* { dg-do compile } */
5 /* { dg-options "-g" } */
6
7 typedef short __attribute__((__hardbool__)) hbool;
8
9 #if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
10 struct __attribute__((scalar_storage_order("big-endian")))
11 {
12 hbool a[2];
13 } S;
14 #else
15 struct __attribute__((scalar_storage_order("little-endian")))
16 {
17 hbool a[2];
18 } S;
19 #endif