New test.

From-SVN: r47368
This commit is contained in:
Richard Henderson 2001-11-26 17:55:42 -08:00
parent 468e8dba6a
commit 773105be40
1 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,19 @@
/* Produced a overflow in ifcvt.c, causing S to contain 0xffffffff7fffffff. */
int a = 1;
int main ()
{
long long s;
s = a;
if (s < 0)
s = -2147483648LL;
else
s = 2147483647LL;
if (s < 0)
abort ();
return 0;
}