re PR c++/28347 (ICE on typedef with initialization)
authorLee Millward <lee.millward@codesourcery.com>
Fri, 4 Aug 2006 18:08:14 +0000 (18:08 +0000)
committerLee Millward <lmillward@gcc.gnu.org>
Fri, 4 Aug 2006 18:08:14 +0000 (18:08 +0000)
commitcc011e7f12afb47a0487e9645bc125681b8b136f
tree51f9d2b4792206f7607a2ca78c7e19e23588e329
parent71156bccaa2aadde4cc420bb719626c59380561b
re PR c++/28347 (ICE on typedef with initialization)

        PR c++/28347
        * decl.c (start_decl): Return error_mark_node if a
        diagnostic was issed for an invalid typedef initialization.

        * g++.dg/ext/typedef-init.C: Add new test for
        typedef initialization inside templates. Adjust
        existing error markers

From-SVN: r115931
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/typedef-init.C