diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-05-12 21:54:01 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-05-12 21:54:01 +0900 |
| commit | 9137826c5bc6d5e20a7b1049025269d2c92f8ea2 (patch) | |
| tree | 9854b3d692058e32f910fc3e108df93fca5fd234 /tests/051.sh | |
| parent | 8057c2e8a3fc03f7771c5d09db0a2b3568dc57d2 (diff) | |
| download | ducc-9137826c5bc6d5e20a7b1049025269d2c92f8ea2.tar.gz ducc-9137826c5bc6d5e20a7b1049025269d2c92f8ea2.tar.zst ducc-9137826c5bc6d5e20a7b1049025269d2c92f8ea2.zip | |
output compile error on stderr instead of stdout
Diffstat (limited to 'tests/051.sh')
| -rw-r--r-- | tests/051.sh | 10 |
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 |
