(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
template/
bitfield2.C
// PR c++/25503

template<int N>
struct Test
{
  Test()
  {
    typedef struct StaticAssert {unsigned condition : (N); } XXX; // { dg-error "zero width" }
  }
};

int
main()
{
  Test<0> T;
}