Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr60047.C
blob: ab73e752e95390854eca0d5a9adc286c1c0ba7cd [
file
] [
log
] [
blame
]
// PR c++/60047
// { dg-do compile { target c++11 } }
struct
B
{
};
template
<
typename
T
>
struct
A
:
virtual
B
{
A
();
A
(
const
A
&);
};
template
<
typename
T
>
A
<
T
>::
A
(
const
A
<
T
>&)
=
default
;
A
<int>
a
=
A
<int>
();