]> gcc.gnu.org Git - gcc.git/commit - gcc/cp/name-lookup.c
re PR c++/19395 (invalid scope qualifier allowed in typedef)
authorMark Mitchell <mark@codesourcery.com>
Mon, 31 Jan 2005 04:07:41 +0000 (04:07 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Mon, 31 Jan 2005 04:07:41 +0000 (04:07 +0000)
commite3016344b3c8ca1ede6b31a8b9949998e5274cf7
tree3efc5b87b185b27850c5bc0e135aea691edb8b36
parent8c55a142cd37140dbaaab358404bfdbacd996f8b
re PR c++/19395 (invalid scope qualifier allowed in typedef)

PR c++/19395
* decl.c (grokdeclarator): Refactor code so that qualified names
are never allowed as the declarator in a typedef.

PR c++/19367
* name-lookup.c (do_nonmember_using_decl): Avoid overloading
builtin declarations.

PR c++/19395
* g++.dg/parse/error24.C: New test.

PR c++/19367
* g++.dg/lookup/builtin1.C: New test.

From-SVN: r94466
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/name-lookup.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/lookup/builtin1.C [new file with mode: 0644]
gcc/testsuite/g++.dg/parse/error24.C [new file with mode: 0644]
This page took 0.05762 seconds and 5 git commands to generate.