https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106313
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2022-07-15 Status|UNCONFIRMED |NEW Keywords| |accepts-invalid Ever confirmed|0 |1 --- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- MSVC accepts this too, although EDG points out that 'obj' is not a constant, and Clang points out that it cannot be evaluated.