aboutsummaryrefslogtreecommitdiffstats
path: root/test/typeof5.awk
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2017-02-17 08:19:35 +0200
committerArnold D. Robbins <arnold@skeeve.com>2017-02-17 08:19:35 +0200
commit81d1407331ba872f18d47f16de8339c510ed1008 (patch)
tree2e89246b229eb7fde813409d21fdb199da0edadc /test/typeof5.awk
parent512c96f284f5179b895ccc9c24b22d12ccc1b0f8 (diff)
parent4ce031ad3c3d157a425f721688a09a7dde018619 (diff)
downloadegawk-81d1407331ba872f18d47f16de8339c510ed1008.tar.gz
egawk-81d1407331ba872f18d47f16de8339c510ed1008.tar.bz2
egawk-81d1407331ba872f18d47f16de8339c510ed1008.zip
Merge branch 'master' into feature/api-mpfr
Diffstat (limited to 'test/typeof5.awk')
-rw-r--r--test/typeof5.awk10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/typeof5.awk b/test/typeof5.awk
new file mode 100644
index 00000000..30cd6aca
--- /dev/null
+++ b/test/typeof5.awk
@@ -0,0 +1,10 @@
+BEGIN {
+ print typeof($0)
+ print typeof($1)
+}
+
+{
+ $3 = $1
+ print typeof($2)
+ print typeof($3)
+}