Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
rv10.C
blob: bba72d201d63ea7c91d8a67b9e04e61a4ed723fe [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
struct
A
{
A
()
=
default
;
A
(
const
A
&)
=
delete
;
};
A
&&
f
();
void
h
(
A
&&);
void
g
()
{
A
&&
arr
=
f
();
h
(
f
());
}