☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
ext
/
anon-struct9.C
☽
☼
gcc/testsuite/g++.dg/ext/anon-struct9.C
code
plain
raw
1
// PR c++/96636
2
// { dg-options "" }
3
4
typedef class {
5
class a {};
6
class : virtual a {}; // { dg-error "anonymous struct with base" }
7
} b;
8
void foo(){ b();}
9