☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
other
/
incomplete2.C
☽
☼
gcc/testsuite/g++.dg/other/incomplete2.C
code
plain
raw
1
// PR c++/19963
2
// { dg-do compile }
3
4
struct A;
5
6
struct B
7
{
8
A a : 1; // { dg-error "5:field .a. has incomplete type .A" }
9
};
10
11
struct S
12
{
13
S : 1; // { dg-error "incomplete" }
14
};