PR c++/71511 - ICE on decltype scope in declaration.
authorJason Merrill <jason@redhat.com>
Fri, 15 Jul 2016 18:38:48 +0000 (14:38 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 15 Jul 2016 18:38:48 +0000 (14:38 -0400)
commit2a54351ba7f9a90ede3dbc6dd2e15272b955fdd1
tree04809c1d4b70c21ce66fa42a22bfa6fb120ad9a7
parent1019d191806b61fb07a4197bf769b4508a572d9c
PR c++/71511 - ICE on decltype scope in declaration.

* typeck2.c (cxx_incomplete_type_diagnostic): Handle DECLTYPE_TYPE.

From-SVN: r238393
gcc/cp/ChangeLog
gcc/cp/typeck2.c
gcc/testsuite/g++.dg/cpp0x/decltype65.C [new file with mode: 0644]