]> git.ipfire.org Git - thirdparty/gcc.git/commit
PR c++/65091
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 15 Jul 2015 14:13:22 +0000 (14:13 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 15 Jul 2015 14:13:22 +0000 (14:13 +0000)
commitc9b2637ddd86d987b2122207eb41bb7bb21734f5
treea9d17a844b4ff1719c689b80372facf14dec2d2a
parent5c4ec847bb25bb94cfbe503079b6f7b1bec70daa
PR c++/65091
* parser.c (cp_parser_unqualified_id): Don't accept ~x in a
template if there is no type x in scope.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@225831 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/g++.dg/parse/dtor17.C [new file with mode: 0644]