aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/044.sh
blob: a460ae4f883e0897ae5de2bdcd0d5141eee13ae7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
cat <<'EOF' > expected
4
0,1,2
EOF
test_diff <<'EOF'
int printf();

enum E {
    A,
    B,
    C,
};

int main() {
    enum E x = A;
    printf("%d\n", sizeof(enum E));
    printf("%d,%d,%d\n", A, B, C);
    return 0;
}
EOF