From aab648543af3d874667041349b1a22ae19dde30b Mon Sep 17 00:00:00 2001 From: Kyle Gunger Date: Mon, 15 May 2023 19:26:57 -0400 Subject: Fix initial struct calling --- tnslc/hello.tnsl | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 tnslc/hello.tnsl (limited to 'tnslc/hello.tnsl') 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 -- cgit v1.2.3