PR c++/55670
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 14 Feb 2013 04:31:03 +0000 (04:31 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 14 Feb 2013 04:31:03 +0000 (04:31 +0000)
commit45323a38e6a47b47719abf886c52d184d0229811
tree960f8051efbc2d97fd7fe86673dfbc25990d1818
parent15489ee2d684aed13b3ec0411fadc8916812d36c
PR c++/55670
* parser.c (cp_parser_member_declaration): Check the declarator
form when detecting a function declaration via typedef.

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