aboutsummaryrefslogtreecommitdiffstats
path: root/test/aryprm9.awk
diff options
context:
space:
mode:
Diffstat (limited to 'test/aryprm9.awk')
-rw-r--r--test/aryprm9.awk16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/aryprm9.awk b/test/aryprm9.awk
new file mode 100644
index 00000000..004e3c34
--- /dev/null
+++ b/test/aryprm9.awk
@@ -0,0 +1,16 @@
+#!/usr/bin/gawk -f
+BEGIN {
+
+ for (i = 0; i < 100; i++)
+ func_exec()
+}
+
+function func_exec(opaque)
+{
+ func_a(1, opaque) #set additional argument, not expected by fname
+}
+
+function func_a(a, b, loc1, loc2)
+{
+ b = 0 #unref Nnull_string
+}