(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
other/
bitfield2.C
// PR c++/28052
// { dg-do compile }

struct A
{
  double d : 2;  // { dg-error "10:bit-field .d. with non-integral type .double." }
  A() {}
  ~A() {}
};