diff options
Diffstat (limited to 'testsuite/dwz.tests/pr24172.sh')
-rw-r--r-- | testsuite/dwz.tests/pr24172.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/testsuite/dwz.tests/pr24172.sh b/testsuite/dwz.tests/pr24172.sh new file mode 100644 index 0000000..f455b27 --- /dev/null +++ b/testsuite/dwz.tests/pr24172.sh @@ -0,0 +1,14 @@ +cp $execs/dw2-skip-prologue 1 + +if dwz 1 2>dwz.err; status=$?; then + true +fi + +if ! grep -q "locexpr length .* exceeds .debug_loc section" dwz.err; then + cat dwz.err + exit 1 +fi + +[ $status -eq 1 ] + +rm -f 1 dwz.err |