repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
/cp
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
other
/
incomplete2.C
blob
8ea583e52fd68160ae3d89e21068b717341f0603
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
};