aboutsummaryrefslogtreecommitdiffstats
path: root/test/typedregex2.awk
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2015-06-28 22:23:36 +0300
committerArnold D. Robbins <arnold@skeeve.com>2015-06-28 22:23:36 +0300
commit49e523a61a7092a890622e5df18d3503c071d889 (patch)
tree712bb789e6d106345675860a14514128b96f79bc /test/typedregex2.awk
parent056cd074c60d940d5bb46410f114a6c2584daaae (diff)
parent2befea585a321d9d092bfb99cbfa65350a839752 (diff)
downloadegawk-49e523a61a7092a890622e5df18d3503c071d889.tar.gz
egawk-49e523a61a7092a890622e5df18d3503c071d889.tar.bz2
egawk-49e523a61a7092a890622e5df18d3503c071d889.zip
Merge branch 'master' into feature/cmake
Diffstat (limited to 'test/typedregex2.awk')
-rw-r--r--test/typedregex2.awk11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/typedregex2.awk b/test/typedregex2.awk
new file mode 100644
index 00000000..e17df4be
--- /dev/null
+++ b/test/typedregex2.awk
@@ -0,0 +1,11 @@
+BEGIN {
+ x = @/xxx/
+ y = @/yyy/
+ print typeof(x), typeof(y)
+ print x, y
+
+ x++
+ y = y ""
+ print typeof(x), typeof(y)
+ print x, y
+}