diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2019-10-18 11:19:01 -0400 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2019-10-18 11:19:01 -0400 |
commit | ea40420c8dbf784f764956926af1e3d408afc185 (patch) | |
tree | 89471f777f15f0ae8b06e6f86dd5c50282a415bc /out.c | |
parent | 9167bb6d98fbbf858b90f3ffafd1ab2aeb47ac2d (diff) |
while, block exprs
Diffstat (limited to 'out.c')
-rw-r--r-- | out.c | 15 |
1 files changed, 13 insertions, 2 deletions
@@ -27,13 +27,13 @@ int main() { #include <stdio.h> ; void puti(i64 x) { - { +{ printf("%ld\n", (long)x); }} void main__(void) { - { +{ i64 a0_0_; i64 a0_1_; if (0) { (a0_0_) = 3;(a0_1_) = 5; } else { @@ -41,3 +41,14 @@ void main__(void) { }i64 A; i64 B; (A) = a0_0_; (B) = a0_1_; (puti(A)); (puti(B)); + i64 y = 0; + while ((y<10)) { + i64 a2_; + { + y = (y+1);; + a2_ = y; + }(puti(a2_)); + }; +}} + + |