bitfield2.C
155 Bytes
-
class.c (check_bitfield_decl): In error message about non-integral type print the type itself too. · 3c1eaf67
/cp 2018-12-06 Paolo Carlini <paolo.carlini@oracle.com> * class.c (check_bitfield_decl): In error message about non-integral type print the type itself too. * decl.c (grokdeclarator): Do not ICE on unnamed bit-fields declared friends; when calling build_decl for a FIELD_DECL possibly pass the declarator->id_loc. /testsuite 2018-12-06 Paolo Carlini <paolo.carlini@oracle.com> * g++.dg/parse/bitfield7.C: New. * g++.dg/other/bitfield2.C: Check location and type. * g++.dg/parse/bitfield1.C: Likewise. * g++.dg/parse/bitfield2.C: Likewise. From-SVN: r266876
Paolo Carlini committed