From ceaeb8df4d9bf9b518239ea623d813add5a71072 Mon Sep 17 00:00:00 2001 From: Kyle Gunger Date: Fri, 7 Jul 2023 15:50:30 -0400 Subject: Returns inside of complex operations --- tnslc/str_test.tnsl | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 tnslc/str_test.tnsl (limited to 'tnslc/str_test.tnsl') diff --git a/tnslc/str_test.tnsl b/tnslc/str_test.tnsl new file mode 100644 index 0000000..7875636 --- /dev/null +++ b/tnslc/str_test.tnsl @@ -0,0 +1,9 @@ +{}uint8 a = "\n\0\"" + +/; str_call({}uint str) [int] + return len str +;/ + +/; main [int] + return str_call(~a) +;/ \ No newline at end of file -- cgit v1.2.3