Commit 8cc24765 by Bernd Schmidt Committed by Bernd Schmidt

New testcase.

From-SVN: r30977
parent 954d8e99
1999-12-16 Bernd Schmidt <bernds@cygnus.co.uk>
* execute/991216-4.c: New test.
1999-12-16 Michael Meissner <meissner@cygnus.com>
* execute/991216-1.c: New test.
......
/* Test against a problem with loop reversal. */
static void bug(int size, int tries)
{
int i;
int num = 0;
while (num < size)
{
for (i = 1; i < tries; i++) num++;
}
}
int main()
{
bug(5, 10);
exit (0);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment