aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/118.sh
blob: 48a8569cebd17d427752a101ddac500941b8b746 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
cat <<'EOF' > expected
400
80
16
EOF

test_diff <<'EOF'
int printf();

int main() {
    int a[10 * 10];
    int b[10 + 10];
    int c[1 << 2];

    printf("%zu\n", sizeof(a));
    printf("%zu\n", sizeof(b));
    printf("%zu\n", sizeof(c));
}
EOF