]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/38640 (ICE with decltype of template value parameter)
authorJakub Jelinek <jakub@redhat.com>
Tue, 30 Dec 2008 23:52:06 +0000 (00:52 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 30 Dec 2008 23:52:06 +0000 (00:52 +0100)
commit088d4f95da02aab7953cb26441e68c98098109c5
tree0c71c861cc1b54fddf48955c179aeb31865e6bc6
parent03375368aeef4d02b5b987cd83175cfcfb925e12
re PR c++/38640 (ICE with decltype of template value parameter)

PR c++/38640
* semantics.c (finish_decltype_type): Handle TEMPLATE_PARM_INDEX.

* g++.dg/cpp0x/decltype15.C: New test.

From-SVN: r142973
gcc/cp/ChangeLog
gcc/cp/semantics.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/decltype15.C [new file with mode: 0644]