summaryrefslogtreecommitdiff
path: root/test/aryprm1.awk
diff options
context:
space:
mode:
Diffstat (limited to 'test/aryprm1.awk')
-rw-r--r--test/aryprm1.awk9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/aryprm1.awk b/test/aryprm1.awk
new file mode 100644
index 0000000..e5bb991
--- /dev/null
+++ b/test/aryprm1.awk
@@ -0,0 +1,9 @@
+function f(a) {
+ if (3 in a)
+ print 7
+ a = 5
+}
+
+BEGIN {
+ f(arr)
+}