summaryrefslogtreecommitdiff
path: root/tnslc/hello.tnsl
diff options
context:
space:
mode:
authorKyle Gunger <kgunger12@gmail.com>2023-05-15 19:26:57 -0400
committerKyle Gunger <kgunger12@gmail.com>2023-05-15 19:26:57 -0400
commitaab648543af3d874667041349b1a22ae19dde30b (patch)
tree28fc1ff968c8dbe589a2adb74207a795cd08f3d9 /tnslc/hello.tnsl
parentca5b305ab25c42fba3d022fd0e4c4288159c451b (diff)
Fix initial struct calling
Diffstat (limited to 'tnslc/hello.tnsl')
-rw-r--r--tnslc/hello.tnsl8
1 files changed, 8 insertions, 0 deletions
diff --git a/tnslc/hello.tnsl b/tnslc/hello.tnsl
new file mode 100644
index 0000000..8fb98a3
--- /dev/null
+++ b/tnslc/hello.tnsl
@@ -0,0 +1,8 @@
+:include "c_wrap.tnsl"
+
+{}uint8 hello = "Hello World!\n\0"
+
+/; main [int]
+ _printf(~hello{0})
+ return 0
+;/ \ No newline at end of file