1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
cat <<'EOF' > expected 0 1 0 EOF test_diff <<'EOF' int printf(); int main() { printf("%d\n", !1); printf("%d\n", !0); printf("%d\n", !23); return 0; } EOF