[Bug c++/61355] gcc doesn't normalize type in non-type template parameters

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue May 16 15:44:00 GMT 2017


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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2014-05-29 00:00:00         |2017-5-16

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
With fewer warnings:

template<class T, T> struct X { };

int test() {
    X<int(), test> x;
    return 0;
}


More information about the Gcc-bugs mailing list