aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-08-02 02:15:30 +0900
committernsfisis <nsfisis@gmail.com>2025-08-15 10:06:21 +0900
commit3d64c9165ba8ae6a06ece0817ae246b21f6f661a (patch)
tree96648c96a062379f5dc30c0e87cb5b1bd7c92a60 /tests
parentbe7b759113e76223025cd025cf0172849385b444 (diff)
downloadducc-3d64c9165ba8ae6a06ece0817ae246b21f6f661a.tar.gz
ducc-3d64c9165ba8ae6a06ece0817ae246b21f6f661a.tar.zst
ducc-3d64c9165ba8ae6a06ece0817ae246b21f6f661a.zip
feat: support '\0'
Diffstat (limited to 'tests')
-rw-r--r--tests/077.sh12
1 files changed, 12 insertions, 0 deletions
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