2 // { dg-do compile { target c++11 } }
3 // { dg-additional-options "-fabi-version=12 -Wabi -fdump-tree-gimple" }
4 // { dg-final { scan-tree-dump "struct S &" "gimple" } }
6 struct S { // { dg-message "" }
11 S foo(S s) // { dg-warning "calling convention" }