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

From-SVN: r44270
This commit is contained in:
Jeffrey A Law 2001-07-23 16:13:51 +00:00 committed by Jeff Law
parent 6e7b03e1f5
commit 1ee6b83994
2 changed files with 20 additions and 0 deletions

View File

@ -1,3 +1,7 @@
Mon Jul 23 10:14:17 2001 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/execute/20010723-1.c: New test.
2001-07-23 Ben Elliston <bje@redhat.com>
* g++.old-deja/g++.other/enum5.C: Mark as XFAIL.

View File

@ -0,0 +1,16 @@
int
test ()
{
int biv,giv;
for (biv = 0, giv = 0; giv != 8; biv++)
giv = biv*8;
return giv;
}
main()
{
if (test () != 8)
abort ();
exit (0);
}