mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-22 13:09:50 +08:00
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:
parent
606ce3919d
commit
68c8d8ce93
@ -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-*-*.
|
||||
|
||||
|
16
gcc/testsuite/gcc.c-torture/execute/20000731-2.c
Normal file
16
gcc/testsuite/gcc.c-torture/execute/20000731-2.c
Normal 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);
|
||||
}
|
Loading…
Reference in New Issue
Block a user