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