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