summaryrefslogtreecommitdiff
path: root/tnslc/simple.tnsl
diff options
context:
space:
mode:
Diffstat (limited to 'tnslc/simple.tnsl')
-rw-r--r--tnslc/simple.tnsl18
1 files changed, 8 insertions, 10 deletions
diff --git a/tnslc/simple.tnsl b/tnslc/simple.tnsl
index 6ac7f31..b55be2a 100644
--- a/tnslc/simple.tnsl
+++ b/tnslc/simple.tnsl
@@ -1,14 +1,12 @@
-struct Test {
- int i
-}
-
-/; method Test
- /; whatever [int]
- return self.i
- ;/
-;/
+{}uint8 str1 = "abcd"
+{}uint8 str2 = "abcd"
/; main [int]
+ /; loop (int i = 0; i < 4) [i++]
+ /; if (str1{i} !== str2{i})
+ return 1
+ ;/
+ ;/
return 0
-;/ \ No newline at end of file
+;/