diff options
Diffstat (limited to 'test.toc')
-rw-r--r-- | test.toc | 15 |
1 files changed, 5 insertions, 10 deletions
@@ -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; }; |