summaryrefslogtreecommitdiff
path: root/test.toc
diff options
context:
space:
mode:
Diffstat (limited to 'test.toc')
-rw-r--r--test.toc10
1 files changed, 4 insertions, 6 deletions
diff --git a/test.toc b/test.toc
index 5eef11f..c2a951c 100644
--- a/test.toc
+++ b/test.toc
@@ -2,12 +2,10 @@ io ::= nms {
#include "std/io.toc";
};
-f ::= fn(a,b::=3) int {
- a + b
+p ::= struct(x::Type) {
+ y:int;
};
-
main ::= fn() {
- x ::= f();
- io.puti(x);
- io.puti(f());
+z:p(int);
+for z := 1..100 {z:=12;}
}; \ No newline at end of file