blob: 8381d0e72d69c33f87c81d34345d57ff140b68f2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
set -e
bash ../../test_exit_code.sh 66 <<'EOF'
int main() {
int i;
int ret;
i = 0;
ret = 0;
for (i = 0; i < 100; i = i + 1) {
if (i == 12) {
break;
}
ret = ret + i;
}
return ret;
}
EOF
|