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