summaryrefslogtreecommitdiff
path: root/simple.nl
diff options
context:
space:
mode:
authortomsmeding <tom.smeding@gmail.com>2017-01-24 21:16:42 +0100
committertomsmeding <tom.smeding@gmail.com>2017-01-24 21:16:42 +0100
commitf9f666c7088ad2acde6dad3bd57ebf8438ba9ea1 (patch)
tree696a21da32121ec82a2d7bfa5b643f82ff285b30 /simple.nl
parent68a49640d7cf05c3149da266e820c5ce464aadf8 (diff)
Can codegen a simple variable declaration
Diffstat (limited to 'simple.nl')
-rw-r--r--simple.nl5
1 files changed, 3 insertions, 2 deletions
diff --git a/simple.nl b/simple.nl
index c45e2ca..a09feb6 100644
--- a/simple.nl
+++ b/simple.nl
@@ -4,6 +4,7 @@ type char = i8;
int g_var;
int main(i32 argc, ptr(ptr(i8)) argv) {
- int i = g_var;
- int a = i + 2;
+ //int i = g_var;
+ //int a = i + 2;
+ int i;
}