https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113789
--- Comment #6 from Arthur O'Dwyer <arthur.j.odwyer at gmail dot com> --- (In reply to Marek Polacek from comment #5) > IOW, this should be accepted in C++23 but isn't (clang++ accepts in C++23): > [...] Correct, at least that's my intended interpretation. But the unexpected ICE was more dramatic. :) I'd be a tiny bit surprised if fixing `decltype(throw p)` actually closes the only pathway to that ICE; but if it does, then awesome, I have no complaints.