summaryrefslogtreecommitdiffstats
path: root/testsuite/dwz.tests/pr24542.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--testsuite/dwz.tests/pr24542.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/testsuite/dwz.tests/pr24542.sh b/testsuite/dwz.tests/pr24542.sh
new file mode 100644
index 0000000..f797034
--- /dev/null
+++ b/testsuite/dwz.tests/pr24542.sh
@@ -0,0 +1,15 @@
+cp $execs/start 1
+cp 1 2
+
+if dwz -m 3 1 2 2> dwz.err; status=$?; then
+ true
+fi
+
+if ! grep -q "No suitable DWARF found for multifile optimization" dwz.err; then
+ cat dwz.err
+ exit 1
+fi
+
+[ $status -eq 0 ]
+
+rm -f 1 2 3 dwz.err