https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105423
--- Comment #2 from Liam White <byteslice at airmail dot cc> --- My bad, use -std=c++20 as well for this example. Then you should reproduce the issue.
byteslice at airmail dot cc via Gcc-bugs Fri, 29 Apr 2022 04:27:32 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105423
--- Comment #2 from Liam White <byteslice at airmail dot cc> --- My bad, use -std=c++20 as well for this example. Then you should reproduce the issue.