* gcc.c-torture/execute/20101011-1.c: Skip on SH.
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / 20040331-1.c
blob2e8f9e86748883e7aa5a7e49b80149157221e676
1 /* PR c++/14755 */
2 extern void abort (void);
3 extern void exit (int);
5 int
6 main (void)
8 #if __INT_MAX__ >= 2147483647
9 struct { int count: 31; } s = { 0 };
10 while (s.count--)
11 abort ();
12 #elif __INT_MAX__ >= 32767
13 struct { int count: 15; } s = { 0 };
14 while (s.count--)
15 abort ();
16 #else
17 /* Don't bother because __INT_MAX__ is too small. */
18 #endif
19 exit (0);