1 // Make sure that digest_init converts to the declared type of the 2 // bitfield, not just the lowered type. 3 4 enum E { EA, EB }; 5 6 struct A { E e: 8; }; 7 8 A a = { 0 }; // { dg-error "invalid conversion" } 9