tests/tests2/79_vla_continue.c: Fix off-by-one error.
This commit is contained in:
parent
c39bc9caa7
commit
3712c958f4
1 changed files with 2 additions and 2 deletions
|
@ -69,10 +69,10 @@ void test4()
|
||||||
do {
|
do {
|
||||||
int a[f()];
|
int a[f()];
|
||||||
|
|
||||||
addr[count] = a;
|
addr[--count] = a;
|
||||||
|
|
||||||
continue;
|
continue;
|
||||||
} while(count--);
|
} while (count);
|
||||||
|
|
||||||
if(addr[9] == addr[0]) {
|
if(addr[9] == addr[0]) {
|
||||||
printf("OK\n");
|
printf("OK\n");
|
||||||
|
|
Loading…
Reference in a new issue