summaryrefslogtreecommitdiffstats
path: root/testsuite/dwz.tests/pr24171.sh
blob: dd99c05a4e47f13279753e9a629e760338572496 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
cp $execs/invalid-dw-at-stmt-list-encoding 1
cp 1 2

if dwz -m 3 1 2 2>dwz.err; status=$?; then
    true
fi

if ! grep -q "DW_AT_stmt_list not DW_FORM_sec_offset or DW_FORM_data4" dwz.err; then
    cat dwz.err
    exit 1
fi

[ $status -eq 1 ]

rm -f 1 2 dwz.err