summaryrefslogtreecommitdiff
path: root/tests/test_conditional_3.tnsl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_conditional_3.tnsl')
-rw-r--r--tests/test_conditional_3.tnsl10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/test_conditional_3.tnsl b/tests/test_conditional_3.tnsl
new file mode 100644
index 0000000..3387d84
--- /dev/null
+++ b/tests/test_conditional_3.tnsl
@@ -0,0 +1,10 @@
+/; main [int]
+
+ int i = 0
+
+ /; loop (int j = 0; j < 70) [j++]
+ i = j
+ ;/
+
+ return i
+;/