New test case.
From-SVN: r31048
This commit is contained in:
parent
1948c2d9d2
commit
eda190c541
13
gcc/testsuite/gcc.c-torture/execute/991221-1.c
Normal file
13
gcc/testsuite/gcc.c-torture/execute/991221-1.c
Normal file
@ -0,0 +1,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 );
|
||||
}
|
Loading…
Reference in New Issue
Block a user