Add second, reversed loop to testcase.

From-SVN: r34812
This commit is contained in:
Nick Clifton 2000-06-30 16:46:28 +00:00 committed by Nick Clifton
parent bece74bdee
commit 996b539fa3
2 changed files with 17 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2000-06-30 Nick Clifton <nickc@cygnus.com>
* gcc.c-torture/compile/20000629-1.c: Add second, reversed, loop
to test case.
2000-06-30 Catherine Moore <clm@cygnus.com>
* gcc.c-torture/execute/align-1.c: New test.

View File

@ -14,3 +14,15 @@ foo (struct a * b)
b++;
}
}
void
bar (struct a * b)
{
int i;
for (i = 0; i < 1000; i++)
{
b->x = b;
b--;
}
}