aboutsummaryrefslogtreecommitdiffstats
path: root/test/typedregex2.awk
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2015-06-28 22:21:23 +0300
committerArnold D. Robbins <arnold@skeeve.com>2015-06-28 22:21:23 +0300
commit741bf93462919d841ffd7f3ed8c85a202b9dc3f8 (patch)
treea400d3e2f0b45784a24d703b06d76c882a25bac1 /test/typedregex2.awk
parent687e6594ca3a6195ef834a5466b5fc7de2de2d7b (diff)
downloadegawk-741bf93462919d841ffd7f3ed8c85a202b9dc3f8.tar.gz
egawk-741bf93462919d841ffd7f3ed8c85a202b9dc3f8.tar.bz2
egawk-741bf93462919d841ffd7f3ed8c85a202b9dc3f8.zip
Additional memory fixes and test for typedregex.
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
+}