PR c++/28053
authorlmillward <lmillward@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 20 Oct 2006 20:13:42 +0000 (20:13 +0000)
committerlmillward <lmillward@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 20 Oct 2006 20:13:42 +0000 (20:13 +0000)
commitd00ca5b2db3115e0b9af6677d6bec85a2755eb14
treec490295d80e90317c5432e6da339f8379c7bf200
parente4f51eaa938e9729ab0c2c00a42ff63729f75d4c
    PR c++/28053
        * decl2.c (grokbitfield): Detect invalid non-integral
        types earlier when possible.

        * g++.dg/parse/bitfield1.C: Adjust error markers.
        * g++.dg/parse/bitfield2.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@117910 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/decl2.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/parse/bitfield1.C
gcc/testsuite/g++.dg/parse/bitfield2.C [new file with mode: 0644]