[Bug c++/36740] [c++0x] Compiler accepts invalid syntax in variadic template specialization

reichelt at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Dec 29 00:06:00 GMT 2008



------- Comment #2 from reichelt at gcc dot gnu dot org  2008-12-29 00:04 -------
Even complete garbage like the following is accepted:

=================================================
template<typename...> struct A;

template<> struct A<+/-.../+/-.../+/-.../+> {};
=================================================


-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |reichelt at gcc dot gnu dot
                   |                            |org
           Keywords|                            |accepts-invalid, monitored


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36740



More information about the Gcc-bugs mailing list