diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2021-09-26 20:40:20 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2021-09-26 20:40:20 +0200 |
commit | f3181636d06af22d4828b4256c2a62d025fccb8a (patch) | |
tree | 36043c30788859b07e42a16ebb4814838372e9dd /miniany/test1.c | |
parent | 90689d22cccce853ab6cb7dd078baaa501afb777 (diff) | |
download | compilertests-f3181636d06af22d4828b4256c2a62d025fccb8a.tar.gz compilertests-f3181636d06af22d4828b4256c2a62d025fccb8a.tar.bz2 |
cc: cleanup putint and also zeroing print buffer
Diffstat (limited to 'miniany/test1.c')
-rw-r--r-- | miniany/test1.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/miniany/test1.c b/miniany/test1.c index 707ff16..1bfb8cf 100644 --- a/miniany/test1.c +++ b/miniany/test1.c @@ -2,8 +2,11 @@ int i; int j; +int k; i = 12+25/5-2*3; // 25/5 -> 5, 12+5 -> 17, 2*3 -> 6, 17-6 -> 11 putint i; j = i/3+3*4; // 11 / 3 -> 3, 3*4 -> 12, 3+12 -> 15 putint j; +k = 0; +putint k; |