aboutsummaryrefslogtreecommitdiffstats
path: root/testcases
diff options
context:
space:
mode:
Diffstat (limited to 'testcases')
-rw-r--r--testcases10
1 files changed, 10 insertions, 0 deletions
diff --git a/testcases b/testcases
index 8011eca..1dd1f52 100644
--- a/testcases
+++ b/testcases
@@ -126,3 +126,13 @@ BEGIN { }
./cppawk -f testdir/program.cwk
:
73
+--
+22:
+./cppawk -v foo="abc def" 'BEGIN { print foo }'
+:
+abc def
+--
+23:
+./cppawk 'BEGIN { printf("%s:%s:%s\n", ARGC, ARGV[1], ARGV[2]) }' "ab c" "'"
+:
+3:ab c:'