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