summaryrefslogtreecommitdiff
path: root/simple.nl
diff options
context:
space:
mode:
authortomsmeding <tom.smeding@gmail.com>2017-01-26 12:18:53 +0100
committertomsmeding <tom.smeding@gmail.com>2017-01-26 12:18:53 +0100
commitb3fd29bb7648f8a3c3b8a20345d53a49df4a0947 (patch)
tree5324f017b7de24a4a1626ed1bbbc7a1bc71ed4fa /simple.nl
parent9a2598c973d29f546c37021fd45021fb3be54bff (diff)
Global variables, and fix working with alloca
Diffstat (limited to 'simple.nl')
-rw-r--r--simple.nl2
1 files changed, 1 insertions, 1 deletions
diff --git a/simple.nl b/simple.nl
index ff3ddff..050935b 100644
--- a/simple.nl
+++ b/simple.nl
@@ -6,6 +6,6 @@ int g_var;
int main(i32 argc, ptr(ptr(i8)) argv) {
//int i = g_var;
int i;
- i = 1 + 2 + 3;
+ i = g_var + 2 + 3;
int a = i + 2;
}