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