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