aboutsummaryrefslogtreecommitdiffstats
path: root/test/strcat1.awk
diff options
context:
space:
mode:
Diffstat (limited to 'test/strcat1.awk')
-rw-r--r--test/strcat1.awk6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/strcat1.awk b/test/strcat1.awk
new file mode 100644
index 00000000..0d28017c
--- /dev/null
+++ b/test/strcat1.awk
@@ -0,0 +1,6 @@
+
+function f1(b) { b = b "c"; print f(b); }
+
+function f(a) { a = a "b"; return a; }
+
+BEGIN { A = "a"; f1(A); }