diff options
Diffstat (limited to 'test.toc')
-rw-r--r-- | test.toc | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -1,5 +1,9 @@ main @= fn() { bar : [3]fn(); + foo := fn() {}; + bar[1] = foo; + bar[2] = foo; + bar[0] = foo; i := 0; x := bar[i]; x(); @@ -9,7 +13,4 @@ main @= fn() { i = i + 1; x = bar[i]; x(); - i = i + 1; - x = bar[i]; - x(); }; |