re PR c++/33841 (ICE with non-integral bit-field)
PR c++/33841 * class.c (check_bitfield_decl): Don't set field's type to error_mark_node for non-integral type bitfields. Return true if bitfield is correct, false error has been diagnosed. (check_field_decls): If check_bitfield_decl returned false, call also check_field_decl. * g++.dg/other/bitfield3.C: New test. From-SVN: r129736
Showing
gcc/testsuite/g++.dg/other/bitfield3.C
0 → 100644
Please
register
or
sign in
to comment