d-demangle.c (dlang_parse_structlit): Correctly handle error result.
authorBen L <bobsayshilol@live.co.uk>
Tue, 30 Apr 2019 14:36:24 +0000 (14:36 +0000)
committerJeff Law <law@gcc.gnu.org>
Tue, 30 Apr 2019 14:36:24 +0000 (08:36 -0600)
commitdba20a51404e7addd5e76dc8b912ecaa4469ef03
treec15b3ada61af03a8c5d97fbb8453390f2601adcb
parent80b1ab1579887f21a2d0d34abbe726cbff2706df
d-demangle.c (dlang_parse_structlit): Correctly handle error result.

    * d-demangle.c (dlang_parse_structlit): Correctly handle error result.
    * testsuite/d-demangle-expected: Add testcase.

From-SVN: r270698
libiberty/ChangeLog
libiberty/d-demangle.c
libiberty/testsuite/d-demangle-expected