aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/012.sh
blob: bee4e691ae80e410a7ddd4b7cf03df9cf7de6bd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
test_exit_code 25 <<'EOF'
int main() {
    int i;
    int ret;
    i = 0;
    ret = 0;
    for (i = 0; i < 10; i = i + 1) {
        if (i % 2 == 0) {
            continue;
        }
        ret = ret + i;
    }
    return ret;
}
EOF