about summary refs log tree commit diff
path: root/boot/tests/lower/c_for_loop.cskt
diff options
context:
space:
mode:
Diffstat (limited to 'boot/tests/lower/c_for_loop.cskt')
-rw-r--r--boot/tests/lower/c_for_loop.cskt2
1 files changed, 1 insertions, 1 deletions
diff --git a/boot/tests/lower/c_for_loop.cskt b/boot/tests/lower/c_for_loop.cskt
index 98d78f0..0006ca3 100644
--- a/boot/tests/lower/c_for_loop.cskt
+++ b/boot/tests/lower/c_for_loop.cskt
@@ -28,7 +28,7 @@ main = fun () {
 				(declaration i (ref int) (initializer (expr 0)))
 				(loop (condition (expr (binary < (expr (name i)) (expr 10)))) (block
 					(declaration x (ref int) (initializer (expr (name i))))
-					(assign (expr (name i)) (expr (binary + (expr (name i)) (expr 1))))
+					(expression-stmt (expr (postfix-++ (expr (name i)))))
 				))
 			)
 		)))