OSDN Git Service

PR c++/40750
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 20 Jan 2010 21:30:20 +0000 (21:30 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 20 Jan 2010 21:30:20 +0000 (21:30 +0000)
commit58c98d699832fe70847b1c3c4542e94af09b3e0f
treee967e0b66fcbfaa1ab6aac422cfbc8718b8478a1
parentc5a4bc63686651d4087c948577e6bcd615740073
PR c++/40750
* decl.c (grokdeclarator): Clear type_quals for a member function
declared using a typedef.  Don't complain about adding cv-quals
to a function typedef in C++0x mode.

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