aboutsummaryrefslogtreecommitdiffstats
path: root/test/typeof5.awk
diff options
context:
space:
mode:
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)
+}