1 /* { dg-do compile } */ 2 bar()3static inline void bar(){} 4 5 struct S 6 { 7 #if __INT_MAX__ == 32767 8 signed int i: 16; 9 #elif __INT_MAX__ == 2147483647 10 signed int i: 32; 11 #elif __INT_MAX__ == 9223372036854775807 12 signed int i: 64; 13 #else 14 #error Please add support for your target here 15 #endif 16 }; 17 main()18int main() 19 { 20 struct S x = {32}; 21 sizeof(x.i+0); 22 return 0; 23 } 24