summaryrefslogtreecommitdiff
path: root/test/concat2.awk
diff options
context:
space:
mode:
Diffstat (limited to 'test/concat2.awk')
-rw-r--r--test/concat2.awk8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/concat2.awk b/test/concat2.awk
new file mode 100644
index 0000000..a94b29b
--- /dev/null
+++ b/test/concat2.awk
@@ -0,0 +1,8 @@
+function f(s, x) {
+ x = 1
+ s = 3
+ s = s x
+ print s
+}
+
+BEGIN { for (i = 1; i <=12; i++) f() }