re PR c++/67339 (Segfault when parsing a typename involving a template-alias)
authorJason Merrill <jason@redhat.com>
Tue, 22 Dec 2015 21:46:38 +0000 (16:46 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 22 Dec 2015 21:46:38 +0000 (16:46 -0500)
commitd2889b14274f623af7022b060cd49b08ada66038
tree82266f9e7233337816409fce56882967750604cf
parentd6dd2c8e29213be6d5f95106bcb9b2cb7cbabb48
re PR c++/67339 (Segfault when parsing a typename involving a template-alias)

PR c++/67339
* parser.c (cp_parser_elaborated_type_specifier): Use CLASS_TYPE_P
rather than check for RECORD_TYPE.

From-SVN: r231912
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/g++.dg/cpp0x/alias-decl-pmf1.C [new file with mode: 0644]