Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr58871.C
blob: 5920f5c3a0d9f5b8e54a59ba3e9db93abd3435f7 [
file
] [
log
] [
blame
]
// PR c++/59111
// { dg-do compile { target c++11 } }
template
<
typename
T
>
struct
A
:
virtual
T
// { dg-error "base type" }
{
A
();
A
(
const
A
&);
};
template
<
typename
T
>
A
<
T
>::
A
(
const
A
<
T
>&)
=
default
;
A
<int>
a
=
A
<int>
();