aboutsummaryrefslogtreecommitdiffstats
path: root/test/typeof5.awk
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2017-02-17 08:19:53 +0200
committerArnold D. Robbins <arnold@skeeve.com>2017-02-17 08:19:53 +0200
commit738b247c58504fbb00ce7f4f1d1d72ce6fdb52a2 (patch)
tree112072901ed5c94be37939c185ce0802ea19ffe8 /test/typeof5.awk
parentdf801a207996689d3ab65c0db9387413b5fbad1d (diff)
parent4ce031ad3c3d157a425f721688a09a7dde018619 (diff)
downloadegawk-738b247c58504fbb00ce7f4f1d1d72ce6fdb52a2.tar.gz
egawk-738b247c58504fbb00ce7f4f1d1d72ce6fdb52a2.tar.bz2
egawk-738b247c58504fbb00ce7f4f1d1d72ce6fdb52a2.zip
Merge branch 'master' into feature/fix-comments
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)
+}