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