History

tests/tests2/79_vla_continue.c: Fix off-by-one error.

Edmund Grimley Evans committed 11 years ago

Commit 3712c951 parent c39bc9c1 file · +2 −2Browse files

Unified · Split

tests/tests2/79_vla_continue.c+2−2
@@ -69,10 +69,10 @@ void test4() · 68 unmodified lines
69 do {69 do {
70 int a[f()];70 int a[f()];
71 71
72 addr[count] = a;72 addr[--count] = a;
73 73
74 continue;74 continue;
75 } while(count--);75 } while (count);
76 76
77 if(addr[9] == addr[0]) {77 if(addr[9] == addr[0]) {
78 printf("OK\n");78 printf("OK\n");

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t