OSDN Git Service

Backported from mainline
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.c-torture / execute / pr42544.c
1 /* PR c/42544 */
2
3 extern void abort (void);
4
5 int
6 main ()
7 {
8   signed short s = -1;
9   if (sizeof (long long) == sizeof (unsigned int))
10     return 0;
11   if ((unsigned int) s >= 0x100000000ULL)
12     abort ();
13   return 0;
14 }