re PR c++/10428 (struct <typedef'ed name> causes ICE in write_unscoped_name)
authorMark Mitchell <mark@codesourcery.com>
Tue, 22 Apr 2003 21:05:58 +0000 (21:05 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Tue, 22 Apr 2003 21:05:58 +0000 (21:05 +0000)
commitbefcd99bcb1e93983abf4cd20e408a0b963be4e5
treec1bc5618ca2677d2d433afd58439a78ff75977a6
parent52dd32242018d531d0a974f6b4b61df28d491ab3
re PR c++/10428 (struct <typedef'ed name> causes ICE in write_unscoped_name)

PR c++/10428
* g++.dg/parse/elab1.C: New test.

PR c++/10428
* decl.c (check_elaborated_type_specifier): New function, split
out from ...
(xref_tag): ... here.  Use the new function in more places.

From-SVN: r65956
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/parse/elab1.C [new file with mode: 0644]