summaryrefslogtreecommitdiff
path: root/simple.nl
diff options
context:
space:
mode:
authortomsmeding <tom.smeding@gmail.com>2017-01-25 23:14:52 +0100
committertomsmeding <tom.smeding@gmail.com>2017-01-25 23:14:52 +0100
commitbc879a89174cd7f070e9d279ee89bbbc2e408055 (patch)
tree7738a00396d377ea06a4cc4afeafcf049f1e9f8f /simple.nl
parent42e484fd8552d480becafcfecbaeac826466b88c (diff)
Compile simple expressions
Diffstat (limited to 'simple.nl')
-rw-r--r--simple.nl4
1 files changed, 2 insertions, 2 deletions
diff --git a/simple.nl b/simple.nl
index fd6c5c7..ff3ddff 100644
--- a/simple.nl
+++ b/simple.nl
@@ -5,7 +5,7 @@ int g_var;
int main(i32 argc, ptr(ptr(i8)) argv) {
//int i = g_var;
- //int a = i + 2;
int i;
- 1;
+ i = 1 + 2 + 3;
+ int a = i + 2;
}