re PR c++/81247 (ICE on invalid C++ code with malformed namespace declaration:…
re PR c++/81247 (ICE on invalid C++ code with malformed namespace declaration: in do_push_nested_namespace, at cp/name-lookup.c:6002) PR c++/81247 * parser.c (cp_parser_namespace_definition): Immediately close the namespace if there's no open-brace. * name-lookup.c (do_pushdecl): Reset OLD when pushing into new namespace. From-SVN: r249804
Showing
gcc/testsuite/g++.dg/parse/pr81247-a.C
0 → 100644
gcc/testsuite/g++.dg/parse/pr81247-b.C
0 → 100644
gcc/testsuite/g++.dg/parse/pr81247-c.C
0 → 100644
Please
register
or
sign in
to comment