summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/991221-1.c
blob: 7106fee606d8f954217ac69c957e653366dd72ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
int main( void )
{
   unsigned long totalsize = 80;
   unsigned long msize = 64;

   if (sizeof(long) != 4)
     exit(0);
   
   if ( totalsize > (2147483647L   * 2UL + 1)  
        || (msize != 0 && ((msize - 1) > (2147483647L   * 2UL + 1) )))
      abort();
   exit( 0 );
}