[Bug c++/60009] g++ allows copy-initialization of an array of class type from a non-braced string literal

ville.voutilainen at gmail dot com gcc-bugzilla@gcc.gnu.org
Sun Dec 14 14:16:00 GMT 2014


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

Ville Voutilainen <ville.voutilainen at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |accepts-invalid
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2014-12-14
                 CC|                            |ville.voutilainen at gmail dot com
     Ever confirmed|0                           |1
      Known to fail|                            |4.8.2, 4.9.1, 5.0

--- Comment #2 from Ville Voutilainen <ville.voutilainen at gmail dot com> ---
Clang rejects the code.



More information about the Gcc-bugs mailing list