diff options
Diffstat (limited to 'test.toc')
-rw-r--r-- | test.toc | 14 |
1 files changed, 11 insertions, 3 deletions
@@ -36,8 +36,16 @@ pascal @= fn() [N][]int { x }; +foo @= fn() [3]int { + x : [3]int; + x[0] = 0; + x[1] = 1; + x[2] = 2; + x +}; + main @= fn() { - ptriangle @= pascal(); - puti(ptriangle[49][25]); - + // ptriangle @= pascal(); + // puti(ptriangle[49][25]); + x @= foo(); }; |