https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109095
--- Comment #4 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The trunk branch has been updated by Marek Polacek <mpola...@gcc.gnu.org>: https://gcc.gnu.org/g:5f3a6e26aab16a792176b33fbee1456a91aaebf2 commit r15-3428-g5f3a6e26aab16a792176b33fbee1456a91aaebf2 Author: Marek Polacek <pola...@redhat.com> Date: Tue Sep 3 13:32:35 2024 -0400 c++: add fixed test [PR109095] Fixed by r13-6693. PR c++/109095 gcc/testsuite/ChangeLog: * g++.dg/cpp2a/nontype-class66.C: New test.