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());
}