https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39057
--- Comment #6 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The trunk branch has been updated by Marek Polacek <[email protected]>: https://gcc.gnu.org/g:9f99ee9d103dd70c18637271bb7f9b3efc926959 commit r16-7944-g9f99ee9d103dd70c18637271bb7f9b3efc926959 Author: Marek Polacek <[email protected]> Date: Sat Mar 7 12:29:48 2026 -0500 c++: add fixed test [PR39057] This was fixed by r16-6725 and we no longer crash. The error is expected. PR c++/39057 gcc/testsuite/ChangeLog: * g++.dg/template/friend89.C: New test.
