aboutsummaryrefslogtreecommitdiffstats
path: root/test/ignrcas4.awk
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2016-08-01 22:53:51 +0300
committerArnold D. Robbins <arnold@skeeve.com>2016-08-01 22:53:51 +0300
commit9698fd1ebff2bc3f76efbf498c28ce21aa515b7e (patch)
tree82d4d368ede5133d2eff3c7d535274c1f7eddccf /test/ignrcas4.awk
parentde23ab7bfbea6ee03ef7386c6c203a4b2b7b7116 (diff)
parent385636c3da7f36ae020eeb7098485923168ccf4b (diff)
downloadegawk-9698fd1ebff2bc3f76efbf498c28ce21aa515b7e.tar.gz
egawk-9698fd1ebff2bc3f76efbf498c28ce21aa515b7e.tar.bz2
egawk-9698fd1ebff2bc3f76efbf498c28ce21aa515b7e.zip
Merge branch 'gawk-4.1-stable'
Diffstat (limited to 'test/ignrcas4.awk')
-rw-r--r--test/ignrcas4.awk7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/ignrcas4.awk b/test/ignrcas4.awk
new file mode 100644
index 00000000..e74eea64
--- /dev/null
+++ b/test/ignrcas4.awk
@@ -0,0 +1,7 @@
+BEGIN {
+ x = "0"
+ print x+0 # trigger NUMCUR
+ IGNORECASE = x # should enable ignorecase, since x is a non-null string
+ y = "aBc"
+ print (y ~ /abc/)
+}