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

struct A;

struct B
{
  A a : 1;  // { dg-error "5:field .a. has incomplete type .A" }
};

struct S
{
  S : 1;    // { dg-error "incomplete" }
};