1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
cat <<'EOF' > expected 105 0 EOF test_diff <<'EOF' int printf(); int main() { char* s = "hi"; while (*s++) { printf("%d\n", *s); } } EOF