aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/test_global_variables.sh
blob: b4eef098a5f47c49d428351fd3d29421600bc8ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
cat <<'EOF' > expected
42 123 999
EOF

test_diff <<'EOF'
int printf();

char a = 42;
short b = 123;
int c = 999;

int main() {
    printf("%d %d %d\n", a, b, c);
}
EOF