Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
ext
/
anon-struct9.C
blob: 567594296204b518d06b8606ac7584848b3fab1f [
file
] [
log
] [
blame
]
// PR c++/96636
// { dg-options "" }
typedef
class
{
class
a
{};
class
:
virtual
a
{};
// { dg-error "anonymous struct with base" }
}
b
;
void
foo
(){
b
();}