blob: 592d212ab11dcd713d7d23b370fe845b46d408e8 [file] [log] [blame]
// PR c++/86094
// { dg-do compile { target c++11 } }
// { dg-additional-options "-Wabi=11 -fdump-tree-gimple" }
// { dg-final { scan-tree-dump-not "struct S &" "gimple" } }
struct S {
S(S&&) = default;
int i;
};
S foo(S s)
{
return s;
}