re PR c++/16637 (syntax error on valid input code)
authorMark Mitchell <mark@codesourcery.com>
Tue, 20 Jul 2004 17:58:43 +0000 (17:58 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Tue, 20 Jul 2004 17:58:43 +0000 (17:58 +0000)
commitf68e4dc883967d45271ad8772a42df26e07006e3
tree044f7049e9a41c4a2c491845702f527069015e47
parentf82bb1bed33b152b0093b30b644ae497983b9007
re PR c++/16637 (syntax error on valid input code)

PR c++/16637
* parser.c (cp_parser_simple_type_specifier): Do not record usage
of globally-qualified names.

PR c++/16637
* g++.dg/parse/lookup4.C: New test.

From-SVN: r84965
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/parse/lookup4.C [new file with mode: 0644]