aboutsummaryrefslogtreecommitdiffstats
path: root/test/strcat1.awk
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2010-07-16 14:40:49 +0300
committerArnold D. Robbins <arnold@skeeve.com>2010-07-16 14:40:49 +0300
commit85c0d5edb781c9f31b79e48452b1ca68643f41de (patch)
tree14efbc59b30cdd626a208d6391f3ed226387054e /test/strcat1.awk
parent6cc7d587a710606d3fe52222707739c7cc1b8651 (diff)
downloadegawk-85c0d5edb781c9f31b79e48452b1ca68643f41de.tar.gz
egawk-85c0d5edb781c9f31b79e48452b1ca68643f41de.tar.bz2
egawk-85c0d5edb781c9f31b79e48452b1ca68643f41de.zip
Move to gawk-3.1.4.
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); }