summaryrefslogtreecommitdiff
path: root/test.nl
diff options
context:
space:
mode:
authortomsmeding <tom.smeding@gmail.com>2017-01-27 10:53:28 +0100
committertomsmeding <tom.smeding@gmail.com>2017-01-27 10:53:28 +0100
commit97650a26c3d940a98313c37fe122c146ab7c7ff4 (patch)
tree5369aadafb3bf265346eae810c6a77b71c63c949 /test.nl
parent2d68c697c480986089af1050b859b953d0f7fa82 (diff)
Can compile test.nl (with a simple change)
Diffstat (limited to 'test.nl')
-rw-r--r--test.nl3
1 files changed, 2 insertions, 1 deletions
diff --git a/test.nl b/test.nl
index 99786fc..5e23bf3 100644
--- a/test.nl
+++ b/test.nl
@@ -1,9 +1,10 @@
type int = i32;
type char = i8;
-int glob = 10;
+int glob;
int main(int argc, ptr(char) argv) {
+ glob = 10;
int kaas = glob + 2;
glob = 2 > 1 || 1 == 1 % 10;
while (glob < 20) {