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