https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106026
--- Comment #1 from Luke Dalessandro <ldalessandro at gmail dot com> --- Actually, I take back the part about it being invalid code, I'm not sure it's invalid. The godbolt link compiles on clang-14 without error.