mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Sort tests.
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
pragma experimental ABIEncoderV2;
|
||||
|
||||
|
||||
contract C {
|
||||
function f(uint256[2] calldata s)
|
||||
external
|
||||
pure
|
||||
returns (uint256 a, uint256 b)
|
||||
{
|
||||
a = s[0];
|
||||
b = s[1];
|
||||
}
|
||||
}
|
||||
|
||||
// ----
|
||||
// f(uint256[2]): 42, 23 -> 42, 23
|
||||
Reference in New Issue
Block a user