summaryrefslogtreecommitdiffstats
path: root/contrib/awk/test/paramdup.awk
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/awk/test/paramdup.awk')
-rw-r--r--contrib/awk/test/paramdup.awk8
1 files changed, 8 insertions, 0 deletions
diff --git a/contrib/awk/test/paramdup.awk b/contrib/awk/test/paramdup.awk
new file mode 100644
index 0000000..1f1cc7a
--- /dev/null
+++ b/contrib/awk/test/paramdup.awk
@@ -0,0 +1,8 @@
+BEGIN { foo(0, 1, 2) }
+
+function foo(a, b, c, b, a)
+{
+ print "a =", a
+ print "b =", b
+ print "c =", c
+}
OpenPOWER on IntegriCloud