From 567eed5e49a927a31b2692c586da1246519fb1a9 Mon Sep 17 00:00:00 2001 From: Kyle Gunger Date: Wed, 6 Mar 2024 14:50:50 -0500 Subject: Some basic tests --- tests/test_funcall.tnsl | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 tests/test_funcall.tnsl (limited to 'tests/test_funcall.tnsl') diff --git a/tests/test_funcall.tnsl b/tests/test_funcall.tnsl new file mode 100644 index 0000000..d741031 --- /dev/null +++ b/tests/test_funcall.tnsl @@ -0,0 +1,13 @@ +/; ret_a [int] + return 9 +;/ + +/; ret_b (int i) [int] + return i +;/ + +/; main [int] + + int i = ret_a() + return i + ret_b(60) +;/ -- cgit v1.2.3