☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
ext
/
anon-struct8.C
☽
☼
gcc/testsuite/g++.dg/ext/anon-struct8.C
code
plain
raw
1
// { dg-options "" }
2
3
struct A { };
4
struct B {
5
struct: A { int i; }; // { dg-error "anonymous struct with base" }
6
};
7
union U {
8
struct: A { int i; }; // { dg-error "anonymous struct with base" }
9
};