20000731-2.c: New test.

* gcc-c-torture/execute/20000731-2.c: New test.
Fix will be applied shortly...

From-SVN: r35403
This commit is contained in:
Jeffrey A Law 2000-08-01 04:11:57 +00:00 committed by Jeff Law
parent 606ce3919d
commit 68c8d8ce93
2 changed files with 18 additions and 0 deletions

View File

@ -1,5 +1,7 @@
Mon Jul 31 21:14:49 2000 Jeffrey A Law (law@cygnus.com)
* gcc-c-torture/execute/20000731-2.c: New test.
* gcc.c-torture/execute/20000731-1.c: New test.
* gcc.c-torture/execute/20000731-1.x: Expected to fail for i?86-*-*.

View File

@ -0,0 +1,16 @@
int
main()
{
int i = 1;
int j = 0;
while (i != 1024 || j <= 0) {
i *= 2;
++ j;
}
if (j != 10)
abort ();
exit (0);
}