[Bug c++/48617] [C++0x] Problem with non-type template parameters and decltype

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon May 23 15:49:00 GMT 2011


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

--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> 2011-05-23 15:32:13 UTC ---
Author: jason
Date: Mon May 23 15:32:10 2011
New Revision: 174070

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174070
Log:
    PR c++/48617
    * pt.c (invalid_nontype_parm_type_p): Allow DECLTYPE_TYPE.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/decltype27.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-bugs mailing list