https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116846

--- Comment #4 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Nathaniel Shead <nsh...@gcc.gnu.org>:

https://gcc.gnu.org/g:064d5c67d7ad2be446c19e84f0cd993ecab784c3

commit r15-3884-g064d5c67d7ad2be446c19e84f0cd993ecab784c3
Author: Nathaniel Shead <nathanielosh...@gmail.com>
Date:   Thu Sep 26 11:12:02 2024 +1000

    testsuite: Fix testcase g++.dg/modules/indirect-1_b.C [PR116846]

    r15-3878 exposed a mistake in the testcase, probably from an older
    version of the dumping logic.

    Apart from the slightly different syntax for the dump line, also check
    for importing the type_decl rather than the const_decl (we need the type
    anyway and importing the type also brings along the enumerators so it
    would be unnecessary to seed an import for them as well).

            PR c++/116846

    gcc/testsuite/ChangeLog:

            * g++.dg/modules/indirect-1_b.C: Fix testcase.

    Signed-off-by: Nathaniel Shead <nathanielosh...@gmail.com>

Reply via email to