aboutsummaryrefslogtreecommitdiffstats
path: root/test/stupid5.awk
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2021-11-22 21:57:42 +0200
committerArnold D. Robbins <arnold@skeeve.com>2021-11-22 21:57:42 +0200
commitf44bcf14b40716abe45306b0ca427a2b8359f28f (patch)
treee141fbe1264304e0a7b83bd40ec8bd57a18c1a84 /test/stupid5.awk
parent0c02a53775a80fe10dcd2b0ae5e857c1f22f8727 (diff)
parent4a7a1509991bfa9b79816a04fbee3398e3be6841 (diff)
downloadegawk-f44bcf14b40716abe45306b0ca427a2b8359f28f.tar.gz
egawk-f44bcf14b40716abe45306b0ca427a2b8359f28f.tar.bz2
egawk-f44bcf14b40716abe45306b0ca427a2b8359f28f.zip
Merge branch 'gawk-5.1-stable'
Diffstat (limited to 'test/stupid5.awk')
-rw-r--r--test/stupid5.awk9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/stupid5.awk b/test/stupid5.awk
new file mode 100644
index 00000000..e4c0187a
--- /dev/null
+++ b/test/stupid5.awk
@@ -0,0 +1,9 @@
+BEGIN {
+ print typeof(x)
+ f(x)
+}
+
+function f(x) {
+ y = x
+ print typeof(x)
+}