blob: 127ee0ae7639f2f06c2aa5fe421354d989a6432e [file] [log] [blame]
// PR c++/86094
// { dg-do compile { target c++11 } }
// { dg-additional-options "-fabi-version=12 -Wabi -fdump-tree-gimple" }
// { dg-final { scan-tree-dump "struct S &" "gimple" } }
struct S { // { dg-message "" }
S(S&&) = default;
int i;
};
S foo(S s) // { dg-warning "calling convention" }
{
return s;
}