Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
torture
/
pr59775.C
blob: 10c497587e1d9de0ddf37c63c39ef0bed03430bd [
file
] [
log
] [
blame
]
// { dg-do compile }
struct
A
{
virtual
void
foo
()
=
0
;
void
bar
()
{
foo
();
}
bool
a
;
};
struct
B
:
public
virtual
A
{
virtual
void
foo
();
};
struct
C
:
public
B
{
C
();
};
void
baz
()
{
C c
;
c
.
bar
();
}