https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80488
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=83258 --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- The first example works with -std=c++20 as expected (it is not valid C++17 and gets rejected with -std=c++1z too). The second example is related to PR 83258 (or is a dup of that bug).