aboutsummaryrefslogtreecommitdiffstats
path: root/test/arrayind1.ok
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2016-05-12 18:38:23 +0300
committerArnold D. Robbins <arnold@skeeve.com>2016-05-12 18:38:23 +0300
commitfec6265dfb087ecc8a26a9d8917bcd05bb4b1860 (patch)
tree1951f472d48b71d92fbee21747995c43070a1c91 /test/arrayind1.ok
parent7458e696b5563f64e4da81ae95f88c7f36896ab8 (diff)
downloadegawk-fec6265dfb087ecc8a26a9d8917bcd05bb4b1860.tar.gz
egawk-fec6265dfb087ecc8a26a9d8917bcd05bb4b1860.tar.bz2
egawk-fec6265dfb087ecc8a26a9d8917bcd05bb4b1860.zip
Fix array indexing to disallow numeric string.
Diffstat (limited to 'test/arrayind1.ok')
-rw-r--r--test/arrayind1.ok9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/arrayind1.ok b/test/arrayind1.ok
new file mode 100644
index 00000000..c68346ea
--- /dev/null
+++ b/test/arrayind1.ok
@@ -0,0 +1,9 @@
+recoding animals
+in the loop: 3
+in the loop: 3
+in the loop: 3
+at the end: 3
+ 1 0 0 00000757740011 0 0 0
+ 2 0 0 1975su1du1 0 0 0
+ 3 2 2 00000779770060 1975su1du1 1975su1du1 1
+ 4 3 1 64000757790003 00000779770060 00000757740011 2