OSDN Git Service

PR c++/28303
authorlmillward <lmillward@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 21 Sep 2006 18:33:49 +0000 (18:33 +0000)
committerlmillward <lmillward@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 21 Sep 2006 18:33:49 +0000 (18:33 +0000)
commitf5b76e275ca0c4480cbfff365e43f771f48128b0
tree01824585fe7dd4573fbcd63220aa1f7eb2c8f775
parentec469fe9ce22b2cc1ccfb88b1a87371457c71522
    PR c++/28303
        * decl.c (grokdeclarator): Return error_mark_node on
        declaration with two or more data types.

        * g++.dg/template/typedef6.C: New test.
        * g++.dg/init/error1.C: Adjust error markers.
        * g++.dg/parse/crash9.C: Likewise.
        * g++.dg/template/crash55.C: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@117118 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/init/error1.C
gcc/testsuite/g++.dg/template/crash55.C
gcc/testsuite/g++.dg/template/typedef6.C [new file with mode: 0644]