aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/064.sh
blob: 20a8bedaec89451d543b0cb0f69b01a24dbae681 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# C99: 5.1.2.2.3
test_exit_code 0 <<'EOF'
int main() {
}
EOF

test_exit_code 0 <<'EOF'
int main() {
    1 + 2 + 3;
}
EOF

test_exit_code 0 <<'EOF'
int main() {
    if (1);
    else return 1;
}
EOF