blob: 8ea583e52fd68160ae3d89e21068b717341f0603 [file] [log] [blame]
// 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" }
};