aboutsummaryrefslogtreecommitdiffstats
path: root/testcases
diff options
context:
space:
mode:
Diffstat (limited to 'testcases')
-rw-r--r--testcases20
1 files changed, 20 insertions, 0 deletions
diff --git a/testcases b/testcases
index 2cd3ed4..3eb492d 100644
--- a/testcases
+++ b/testcases
@@ -178,3 +178,23 @@ foo_bar
#endif' | grep foo_bar
:
foo_bar
+--
+32:
+./cppawk --awk='printf "[%.2s]"' foo
+:
+[-f][/t][--]
+--
+33:
+./cppawk --prepro-only --prepro='printf %.3s' abc
+:
+-iq-D_-I.-
+--
+34:
+./cppawk --prepro-only --awk=mawk mawk=__mawk__ | grep mawk
+:
+mawk=1
+--
+35:
+./cppawk --prepro-only --awk=mawk gawk=__gawk__ | grep gawk
+:
+gawk=__gawk__