This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/48617] [C++0x] Problem with non-type template parameters and decltype
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 25 May 2011 01:48:43 +0000
- Subject: [Bug c++/48617] [C++0x] Problem with non-type template parameters and decltype
- Auto-submitted: auto-generated
- References: <bug-48617-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48617
--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> 2011-05-25 01:08:10 UTC ---
Author: jason
Date: Wed May 25 01:08:07 2011
New Revision: 174158
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174158
Log:
PR c++/48617
* pt.c (invalid_nontype_parm_type_p): Allow DECLTYPE_TYPE.
Added:
branches/gcc-4_6-branch/gcc/testsuite/g++.dg/cpp0x/decltype27.C
Modified:
branches/gcc-4_6-branch/gcc/cp/ChangeLog
branches/gcc-4_6-branch/gcc/cp/pt.c
branches/gcc-4_6-branch/gcc/testsuite/ChangeLog