Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
torture
/
pr41257.C
blob: 60cfc53397980c628f5832c1d23ffca8a761757b [
file
] [
log
] [
blame
]
/* { dg-do compile } */
struct
A
{
virtual
void
foo
();
virtual
~
A
();
int
i
;
};
struct
B
:
virtual
A
{};
struct
C
:
B
{
virtual
void
foo
();
};
void
bar
()
{
C
().
foo
();
}