Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
explicit14.C
blob: 8a8adfe16773a5652bec08ad0370df702002e4a5 [
file
] [
log
] [
blame
]
// PR c++/90320
// { dg-do compile { target c++11 } }
struct
B
{
};
struct
M
:
B
{
M
()
=
default
;
template
<
typename
T
>
explicit
M
(
T
&&)
=
delete
;
};
struct
V
{
V
(
B
);
};
M m
;
V v
=
m
;