From 00f4940ff1c19f3659779b2db078b85f178cb5ab Mon Sep 17 00:00:00 2001 From: Kyle Gunger Date: Mon, 25 Mar 2024 16:37:07 -0400 Subject: More tests, dec and inc postfix --- tests/test_conditional_2.tnsl | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 tests/test_conditional_2.tnsl (limited to 'tests/test_conditional_2.tnsl') diff --git a/tests/test_conditional_2.tnsl b/tests/test_conditional_2.tnsl new file mode 100644 index 0000000..ac29d44 --- /dev/null +++ b/tests/test_conditional_2.tnsl @@ -0,0 +1,11 @@ +/; main [int] + int a, b + a = 69 + b = 0 + + /; if (a > b) + return a + ;/ + + return b +;/ -- cgit v1.2.3