diff options
Diffstat (limited to 'tests/032.sh')
| -rw-r--r-- | tests/032.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/032.sh b/tests/032.sh new file mode 100644 index 0000000..5e55b2a --- /dev/null +++ b/tests/032.sh @@ -0,0 +1,17 @@ +set -e + +cat <<'EOF' > expected +97 48 +92 39 +10 +EOF +bash ../../test_diff.sh <<'EOF' +int printf(); + +int main() { + printf("%d %d\n", 'a', '0'); + printf("%d %d\n", '\\', '\''); + printf("%d\n", '\n'); + return 0; +} +EOF |
