Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
virtual1.C
blob: f30730f294a0e2cbf19fad7ff108e83190e543bf [
file
] [
log
] [
blame
]
// { dg-do run }
struct
V
{
virtual
~
V
()
{}
};
template
<
class
T
>
struct
A
:
virtual
V
{
};
template
<
class
T
>
struct
B
{
virtual
void
f
()
{
T foo
;
}
};
int
main
()
{
B
<
A
<int>
>
bar
;
}