summaryrefslogtreecommitdiff
path: root/miniany/test1.c
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2021-10-10 19:46:42 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2021-10-10 19:46:42 +0200
commitf895cabf52336db0f2a259bbe6fae6e6fc81c98a (patch)
tree7070d2689b0f589c4c0da91f7050c9ce0aafc033 /miniany/test1.c
parent121209ac9702979d16b73340ec6a3a38adbe1b03 (diff)
downloadcompilertests-f895cabf52336db0f2a259bbe6fae6e6fc81c98a.tar.gz
compilertests-f895cabf52336db0f2a259bbe6fae6e6fc81c98a.tar.bz2
cc: work on int, char types
Diffstat (limited to 'miniany/test1.c')
-rw-r--r--miniany/test1.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/miniany/test1.c b/miniany/test1.c
index 9c971ca..2358298 100644
--- a/miniany/test1.c
+++ b/miniany/test1.c
@@ -2,6 +2,7 @@
void main( )
{
+ char c;
int i;
int j;
int k;
@@ -37,4 +38,6 @@ void main( )
putint( i );
i = i+1;
} while( i <= 5 );
+
+ c = 42;
}