aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/007.sh
blob: 6f043b7f49cdd3b3a58c41edde989a6b342e6788 (plain)
1
2
3
4
5
6
7
8
9
set -e

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