Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.mike
/
p4693.C
blob: 67d040e919d12db7434cf52e81067051cac1241f [
file
] [
log
] [
blame
]
// { dg-do assemble }
// prms-id: 4693
class
a
{
public
:
virtual
~
a
();
};
class
b
{
public
:
virtual
void
set_var
()
=
0
;
};
class
c
:
public
b
,
public
a
{
};
class
d
:
public
c
{
public
:
void
set_var
()
{
}
};
int
main
()
{
d
*
test
;
test
=
new
d
;
}