blob: 2b8ef33e8e9372aeba2191ced3d237b7d6d113ca [file] [log] [blame]
// { dg-do compile { target c++11 } }
struct S
{
S();
S(S &&);
private:
S(S &);
};
S f()
{
S s;
return static_cast<S&&>(s);
}