aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/113.sh
blob: 94e6e5fb801cbbd78f62baff3cfb3eff8efb4b4a (plain)
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
cat <<'EOF' > expected
10,11,20,21
0,5,6
EOF

test_diff <<'EOF'
int printf();

enum E1 {
    A = 10,
    B,
    C = 20,
    D,
};

enum E2 {
    E,
    F = 5,
    G
};

int main() {
    printf("%d,%d,%d,%d\n", A, B, C, D);
    printf("%d,%d,%d\n", E, F, G);
}
EOF