diff options
Diffstat (limited to 'test.toc')
-rw-r--r-- | test.toc | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,10 +1,12 @@ s ::= fn(t:: Type) Type { struct { + c :: t = 7 as t; m: t; } } main ::= fn() { o: s(int); - x := o.m; + x := o["m"]; + y ::= o["c"]; } |