1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
set -e cat <<'EOF' > expected EOF bash ../../test_diff.sh <<'EOF' struct S { int a; }; struct S* f(); struct S* g() {} int main() { return 0; } EOF