summaryrefslogtreecommitdiff
path: root/simple.nl
diff options
context:
space:
mode:
Diffstat (limited to 'simple.nl')
-rw-r--r--simple.nl8
1 files changed, 8 insertions, 0 deletions
diff --git a/simple.nl b/simple.nl
index 8a8180a..699fec2 100644
--- a/simple.nl
+++ b/simple.nl
@@ -8,5 +8,13 @@ int main(i32 argc, ptr(ptr(i8)) argv) {
int i = 40;
//i = g_var + 2 + 3;
int a = i + 2;
+ if (a == 41) {
+ return 10;
+ } else {
+ a = 20;
+ }
+ while (a < 42) {
+ a = a + 1;
+ }
return a;
}