* gcc.c-torture/execute/20000225-1.c: New test.

From-SVN: r32165
This commit is contained in:
Jeffrey A Law 2000-02-26 04:46:00 +00:00 committed by Jeff Law
parent 3c9ef12753
commit 985dae7cdd
2 changed files with 25 additions and 0 deletions

View File

@ -1,3 +1,7 @@
Fri Feb 25 21:44:49 2000 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/execute/20000225-1.c: New test.
2000-02-25 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
* gcc.dg/cpp-li2.c: New test.

View File

@ -0,0 +1,21 @@
int main ()
{
int nResult;
int b=0;
int i = -1;
do
{
if (b!=0) {
abort ();
nResult=1;
} else {
nResult=0;
}
i++;
b=(i+2)*4;
} while (i < 0);
exit (0);
}