2009-07-17 Richard Guenther <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr30313.c
blobaefeb7866f91bd6d367531673dbf1582bb2326b4
1 /* { dg-do compile } */
3 static inline void bar(){}
5 struct S
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
18 int main()
20 struct S x = {32};
21 sizeof(x.i+0);
22 return 0;