1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
cat <<'EOF' > expected 4 EOF test_diff <<'EOF' struct S0; typedef struct S0 S0; struct S1 { int x; }; struct S2 { int x; }; struct S3 { int x; }; struct S4 { int x; }; struct S0 { int x; }; int printf(const char*, ...); int main() { printf("%zu\n", sizeof(S0)); } EOF