2020-11-23 18:06:44 +00:00
|
|
|
pragma abicoder v2;
|
2019-08-15 13:35:57 +00:00
|
|
|
|
|
|
|
struct S { uint256 a; uint256 b; }
|
|
|
|
contract C {
|
|
|
|
function f(S calldata s) external pure returns (uint256, uint256) {
|
|
|
|
return (s.a, s.b);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// ----
|
|
|
|
// f((uint256,uint256)): 42, 23 -> 42, 23
|