https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56189
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |msebor at gcc dot gnu.org Target Milestone|--- |11.4 Resolution|--- |FIXED --- Comment #3 from Martin Sebor <msebor at gcc dot gnu.org> --- This is accepted by GCC 12 in the default C++ mode. It looks like it's been accepted since g:5830f753559f25a5dabcc3507bffa611c6b575a6. It might be worth adding the test case.