https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96364
--- 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:5954c5a7c23fbdf3afc011d703c9fce15db04cbd commit r15-7590-g5954c5a7c23fbdf3afc011d703c9fce15db04cbd Author: Marek Polacek <pola...@redhat.com> Date: Mon Feb 17 12:12:55 2025 -0500 c++: add fixed test [PR96364] We were rejecting this, but the test compiles correctly since r14-6346. PR c++/96364 gcc/testsuite/ChangeLog: * g++.dg/cpp0x/gen-attrs-88.C: New test.