summaryrefslogtreecommitdiff
path: root/test/aryprm3.awk
diff options
context:
space:
mode:
Diffstat (limited to 'test/aryprm3.awk')
-rw-r--r--test/aryprm3.awk10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/aryprm3.awk b/test/aryprm3.awk
new file mode 100644
index 00000000..c38ab588
--- /dev/null
+++ b/test/aryprm3.awk
@@ -0,0 +1,10 @@
+function f(a, i) {
+ for (i in a)
+ delete a[i]
+ if (a == 0)
+ print 7
+}
+
+BEGIN {
+ f(arr)
+}