diff options
Diffstat (limited to 'test/arrayref')
-rw-r--r-- | test/arrayref | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/arrayref b/test/arrayref new file mode 100644 index 00000000..144d41a0 --- /dev/null +++ b/test/arrayref @@ -0,0 +1,13 @@ + BEGIN { # foo[10] = 0 # put this line in and it will work + test(foo); print foo[1] + test2(foo2); print foo2[1] + } + + function test(foo) + { + test2(foo) + } + function test2(bar) + { + bar[1] = 1 + } |