https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96184
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jason at gcc dot gnu.org Keywords|diagnostic | --- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- This was accepted until r266224 (for PR c++/52869) and then started to be rejected, until r11-289 (for PR c++/90748). I don't think either of them intended to change this specific case. EDG rejects it, but Clang also accepts it. I have no idea if it's valid.