1 struct __attribute__((trivial_abi
)) S_Trivial
{
6 S_Trivial
takeTrivial(S_Trivial inVal
)
8 S_Trivial ret_val
= inVal
;
10 return ret_val
; // Set a breakpoint here
18 S_NotTrivial
takeNotTrivial(S_NotTrivial inVal
)
20 S_NotTrivial ret_val
= inVal
;
22 return ret_val
; // Set a breakpoint here
28 S_Trivial inVal
, outVal
;
29 outVal
= takeTrivial(inVal
);
31 S_NotTrivial inNotVal
, outNotVal
;
32 outNotVal
= takeNotTrivial(inNotVal
);
34 return 0; // Set another for return value