Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
other
/
incomplete2.C
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" }
};