Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
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
();
}