libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / sso-20.c
blob3bea38423a85dd7663302016ef215eb468edfc26
1 /* PR debug/113519 */
2 /* Reported by Zdenek Sojka <zsojka@seznam.cz> */
4 /* { dg-do compile } */
5 /* { dg-options "-g -fdebug-types-section" } */
7 enum E { X };
9 #if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
10 struct __attribute__((scalar_storage_order("big-endian")))
12 enum E e;
13 } S;
14 #else
15 struct __attribute__((scalar_storage_order("little-endian")))
17 enum E e;
18 } S;
19 #endif