diff options
Diffstat (limited to 'test.toc')
-rw-r--r-- | test.toc | 14 |
1 files changed, 8 insertions, 6 deletions
@@ -1,8 +1,10 @@ -n ::= nms { - a := 17; -} - main ::= fn() { - use n; - x := a; + Point ::= struct { + x: int; + y, z: int; + } + p: Point; + p.x = 6; + p.y = 13; + p.z = 43902; } |