PR c++/47511
commitd1d697eae32d06055e772111df2dc099544c7369
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 10 Feb 2011 16:29:39 +0000 (10 16:29 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 10 Feb 2011 16:29:39 +0000 (10 16:29 +0000)
treedc276c2aad82f106457b7855e6995e5ea8788043
parent24ad6c43457b525c566a2b0b4065a3ac5532c8c7
PR c++/47511
* semantics.c (potential_constant_expression_1): Handle TEMPLATE_DECL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@170005 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/semantics.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/regress/README [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp0x/regress/regress1.C [moved from gcc/testsuite/g++.dg/cpp0x/constexpr-regress1.C with 100% similarity]
gcc/testsuite/g++.dg/cpp0x/regress/regress2.C [moved from gcc/testsuite/g++.dg/cpp0x/constexpr-regress2.C with 100% similarity]
gcc/testsuite/g++.dg/cpp0x/regress/regress3.C [new file with mode: 0644]