diff options
Diffstat (limited to 'test.toc')
-rw-r--r-- | test.toc | 20 |
1 files changed, 15 insertions, 5 deletions
@@ -7,11 +7,21 @@ // "); // }; -Foo @= struct(x @ int) { - a: [x]float; -}; +// f @= fn(x @ int) Type { +// struct { +// a: [x]float; +// } +// }; + + main @= fn() { - f : Foo(13); -// puti(f.a[12]); + +t @= struct { + A: int; + b: int; +}; +x : t; + y := x; + };
\ No newline at end of file |