summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/pr42544.c
blob: c5951b06a1766fbb0e5c99758b4ae60472979328 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* PR c/42544 */

extern void abort (void);

int
main ()
{
  signed short s = -1;
  if (sizeof (long long) == sizeof (unsigned int))
    return 0;
  if ((unsigned int) s >= 0x100000000ULL)
    abort ();
  return 0;
}