diff options
Diffstat (limited to 'c_compiler/test/in/for.c')
-rw-r--r-- | c_compiler/test/in/for.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/c_compiler/test/in/for.c b/c_compiler/test/in/for.c index 5163ba5..1f6d104 100644 --- a/c_compiler/test/in/for.c +++ b/c_compiler/test/in/for.c @@ -3,11 +3,10 @@ int main() int x, y, z; y = 0; - for(x = 0; x < 50; x = x+1) { + for(x = 0; x < 50; x++) { y = y + 1; } - z = y + x - 5; - + z = y + x - 6; return z; } |