summaryrefslogtreecommitdiffstats
path: root/contrib/awk/test/prmarscl.awk
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/awk/test/prmarscl.awk')
-rw-r--r--contrib/awk/test/prmarscl.awk6
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/awk/test/prmarscl.awk b/contrib/awk/test/prmarscl.awk
new file mode 100644
index 0000000..3caf3d9
--- /dev/null
+++ b/contrib/awk/test/prmarscl.awk
@@ -0,0 +1,6 @@
+function test(a)
+{
+ print a[1]
+}
+
+BEGIN { j = 4; test(j) }
OpenPOWER on IntegriCloud