aboutsummaryrefslogtreecommitdiffstats
path: root/test/match2.awk
diff options
context:
space:
mode:
Diffstat (limited to 'test/match2.awk')
-rw-r--r--test/match2.awk6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/match2.awk b/test/match2.awk
new file mode 100644
index 00000000..b4d9544c
--- /dev/null
+++ b/test/match2.awk
@@ -0,0 +1,6 @@
+function f(a, b, c)
+{
+ print match("foo", "bar", f)
+}
+
+BEGIN { f(1, 2, 3) }