summaryrefslogtreecommitdiff
path: root/test.toc
diff options
context:
space:
mode:
Diffstat (limited to 'test.toc')
-rw-r--r--test.toc15
1 files changed, 5 insertions, 10 deletions
diff --git a/test.toc b/test.toc
index 56718ab..9eddb80 100644
--- a/test.toc
+++ b/test.toc
@@ -1,14 +1,9 @@
-io ::= nms{
- #include "std/io.toc";
+b ::= struct {
+ next : &a;
};
-
-ll ::= fn() Type {
- struct {
- head : int;
- tail : &ll();
- }
+a::=struct {
+ next : &b;
};
-
main ::= fn() {
- l : ll();
+ l : ll;
};