*** empty log message ***
From-SVN: r32288
This commit is contained in:
parent
33433751ff
commit
e7fcfdf7f5
1 changed files with 28 additions and 0 deletions
28
gcc/testsuite/gcc.c-torture/execute/20000224-1.c
Normal file
28
gcc/testsuite/gcc.c-torture/execute/20000224-1.c
Normal file
|
@ -0,0 +1,28 @@
|
|||
int loop_1 = 100;
|
||||
int loop_2 = 7;
|
||||
int flag = 0;
|
||||
|
||||
int test (void)
|
||||
{
|
||||
int i;
|
||||
int counter = 0;
|
||||
|
||||
while (loop_1 > counter) {
|
||||
if (flag & 1) {
|
||||
for (i = 0; i < loop_2; i++) {
|
||||
counter++;
|
||||
}
|
||||
}
|
||||
flag++;
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
|
||||
int main()
|
||||
{
|
||||
if (test ())
|
||||
abort ();
|
||||
|
||||
exit (0);
|
||||
}
|
||||
|
Loading…
Add table
Reference in a new issue