diff options
Diffstat (limited to 'test.toc')
-rw-r--r-- | test.toc | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -1,4 +1,13 @@ +p ::= fn() [3]int { + x: [3]int; + x[0] = 16; + x +}; + +f ::= fn() int { + a := p(); + a[0] +}; main ::= fn() { - foo ::= fn(){ - }; + a ::= f(); }; |