summaryrefslogtreecommitdiff
path: root/tnslc/simple.tnsl
diff options
context:
space:
mode:
Diffstat (limited to 'tnslc/simple.tnsl')
-rw-r--r--tnslc/simple.tnsl11
1 files changed, 9 insertions, 2 deletions
diff --git a/tnslc/simple.tnsl b/tnslc/simple.tnsl
index 5145d3f..d20bc0e 100644
--- a/tnslc/simple.tnsl
+++ b/tnslc/simple.tnsl
@@ -1,7 +1,14 @@
uint a = 2, b = 4
{}uint8 str = "Hello", c = "#"
+struct test {
+ int i, j,
+ bool k,
+ uint8 m
+}
+
/; main [int]
- int i = -b
- return i
+ test i
+ i.i = 9
+ return i.i
;/ \ No newline at end of file