Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
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
{});