1 2 3 4 5 6 7 8 9 10 11
// PR c++/27803 struct A { double i : 8; // { dg-error "type" } }; void foo(A& a) { (char)a.i; // { dg-error "no member" } }