re PR c++/92732 (Bit-field of scoped enumeration type cannot be initialized)
PR c++/92732 * typeck2.c (digest_nsdmi_init): For bitfields, use DECL_BIT_FIELD_TYPE instead of TREE_TYPE. * g++.dg/cpp2a/bitfield3.C: Don't expect narrowing conversion warnings. * g++.dg/cpp2a/bitfield4.C: New test. From-SVN: r278923
Showing
gcc/testsuite/g++.dg/cpp2a/bitfield4.C
0 → 100644
Please
register
or
sign in
to comment