aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authortomsmeding <tom.smeding@gmail.com>2018-01-06 21:38:40 +0100
committertomsmeding <tom.smeding@gmail.com>2018-01-06 21:38:40 +0100
commitf4b60f43cf636d48f8857676b072371f1575a5b2 (patch)
treed185ecd5d15b379e64474030bad8a2ab386c4284 /test
parentc4a376d1c7263993f13e9cf276ebd9e530fd419c (diff)
Working compiler
Diffstat (limited to 'test')
-rw-r--r--test/t1.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/t1.c b/test/t1.c
index 35a5312..6493dec 100644
--- a/test/t1.c
+++ b/test/t1.c
@@ -1,4 +1,4 @@
-int glob;
+int glob = 1;
int fibo(int n) {
if (n <= 0) return 0;
@@ -17,6 +17,7 @@ int fibo(int n) {
void main(int argc, int **argv) {
int a = 1;
int b = 2 + a * 3;
- fibo(5);
+ glob = glob + 1;
+ fibo(glob);
// holo_dec(a);
}