OSDN Git Service

PR middle-end/40692
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.c-torture / execute / 20040331-1.c
1 /* PR c++/14755 */
2 extern void abort (void);
3 extern void exit (int);
4
5 int
6 main (void)
7 {
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);
20 }