Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
inh-ctor20.C
blob: f33056df49376dfe0100e7fc6df00f525786fa7f [
file
] [
log
] [
blame
]
// PR c++/70972
// { dg-do compile { target c++11 } }
struct
moveonly
{
moveonly
(
moveonly
&&)
=
default
;
moveonly
()
=
default
;
};
struct
A
{
A
(
moveonly
)
{}
};
struct
B
:
A
{
using
A
::
A
;
};
B b
(
moveonly
{});