re PR c++/26269 (Declaring a variable too late yields bogus error message)
PR c++/26269
* decl.c (duplicate_decls): Return early if either
newdecl or olddecl is error_mark_node.
* g++.dg/other/error14.C: New test.
From-SVN: r116301
Showing
gcc/testsuite/g++.dg/other/error14.C
0 → 100644
Please
register
or
sign in
to comment