aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/051.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/051.sh')
-rw-r--r--tests/051.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/051.sh b/tests/051.sh
index 74a7327..f504664 100644
--- a/tests/051.sh
+++ b/tests/051.sh
@@ -1,9 +1,7 @@
-set -e
-
cat <<'EOF' > expected
undefined function: f
EOF
-bash ../../test_compile_error.sh <<'EOF'
+test_compile_error <<'EOF'
int main() {
f();
}