https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104606
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- With preprocessed source from 11.1 even latest 11.2.1 compiles it fine with -std=c++20 (and also trunk).
jakub at gcc dot gnu.org via Gcc-bugs Sat, 19 Feb 2022 14:40:19 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104606
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- With preprocessed source from 11.1 even latest 11.2.1 compiles it fine with -std=c++20 (and also trunk).