Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
abstract1.C
blob: e37ee2eacff56e98a2cd095b78f3a64cf8340e0e [
file
] [
log
] [
blame
]
// { dg-do assemble }
// GROUPS passed abstract-functions
class
O
{
public
:
virtual
int
c
()=
0
;
};
class
I
:
public
O
{
};
class
S
:
public
virtual
I
{
public
:
int
c
();
virtual
int
v
()=
0
;
};
class
D
:
public
S
{
int
v
();
};
D
*
p
=
new
D
();