From 3d64c9165ba8ae6a06ece0817ae246b21f6f661a Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sat, 2 Aug 2025 02:15:30 +0900 Subject: feat: support '\0' --- tests/077.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 tests/077.sh (limited to 'tests') diff --git a/tests/077.sh b/tests/077.sh new file mode 100644 index 0000000..4a58cb8 --- /dev/null +++ b/tests/077.sh @@ -0,0 +1,12 @@ +set -e + +cat <<'EOF' > expected +0 +EOF +bash ../../test_diff.sh <<'EOF' +int printf(); + +int main() { + printf("%d\n", '\0'); +} +EOF -- cgit v1.2.3-70-g09d2