blob: f81f868a2fc28abc392c28af66f6dc6446fb3ce1 [file] [log] [blame]
// PR c++/28052
// { dg-do compile }
struct A
{
double d : 2; // { dg-error "10:bit-field .d. with non-integral type .double." }
A() {}
~A() {}
};