blob: 16088936cca5a3433750e015a89046b0913463c8 [file] [log] [blame]
// PR c++/27803
struct A
{
double i : 8; // { dg-error "10:bit-field .i. with non-integral type .double." }
};
void foo(A& a)
{
(char)a.i; // { dg-error "no member" }
}