summaryrefslogtreecommitdiff
path: root/nl
diff options
context:
space:
mode:
authortomsmeding <tom.smeding@gmail.com>2017-02-01 14:48:53 +0100
committertomsmeding <tom.smeding@gmail.com>2017-02-01 14:48:53 +0100
commit65a27683fabadc2d1a9ab1b0dbbdb4857d3a3640 (patch)
treeb83993ec7557210988f33f4a5d4569db8364340b /nl
parent238d16ef9e183275ab00a72ed61a280501b9bcad (diff)
Actually run the LLVM verifier; fix all problems
Diffstat (limited to 'nl')
-rw-r--r--nl/string_test.nl11
1 files changed, 11 insertions, 0 deletions
diff --git a/nl/string_test.nl b/nl/string_test.nl
new file mode 100644
index 0000000..9261a6f
--- /dev/null
+++ b/nl/string_test.nl
@@ -0,0 +1,11 @@
+extern func void(i8) putchar;
+extern func i32(ptr(i8)) puts;
+
+i8 g_char;
+
+i32 main(){
+ puts("kaas");
+ g_char = 111;
+ putchar(g_char);
+ return 0;
+}