diff options
Diffstat (limited to 'test.toc')
-rw-r--r-- | test.toc | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -23,7 +23,22 @@ f @= fn() int { a + b + c }; +aSDF @= fn() [3]int { + x: [3]int; + x[0] = 1; + x[1] = 2; + x[2] = 3; + x +}; + main @= fn() { puti(f()); A : [f()]int; + x @= f(); + dsafsad @= ptriple; + foo @= aSDF(); + puti(foo[0]); + puti(foo[1]); + puti(foo[2]); + // B : [aSDF()[0]]int; }; |