https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124357

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|rejects-valid               |needs-stdcheck

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
clang and EDG rejects both examples.
But MSVC follows GCC here and accepts the first and rejects the second.

so it is 2 vs 2. Maybe there is a defect report here.

Reply via email to