aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/008.sh
blob: 94936cd1ab4b1a72be983e9310eefb790ce937fe (plain)
1
2
3
4
5
6
7
8
9
10
11
set -e

bash ../../test_exit_code.sh 70 <<'EOF'
int main() {
    int foo;
    int bar;
    foo = 42;
    bar = 28;
    return foo + bar;
}
EOF