diff options
author | tomsmeding <tom.smeding@gmail.com> | 2017-02-01 14:48:53 +0100 |
---|---|---|
committer | tomsmeding <tom.smeding@gmail.com> | 2017-02-01 14:48:53 +0100 |
commit | 65a27683fabadc2d1a9ab1b0dbbdb4857d3a3640 (patch) | |
tree | b83993ec7557210988f33f4a5d4569db8364340b /nl | |
parent | 238d16ef9e183275ab00a72ed61a280501b9bcad (diff) |
Actually run the LLVM verifier; fix all problems
Diffstat (limited to 'nl')
-rw-r--r-- | nl/string_test.nl | 11 |
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; +} |