mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
16 lines
293 B
Solidity
16 lines
293 B
Solidity
contract c {
|
|
function f(uint256 a) public returns (uint256) {
|
|
return a;
|
|
}
|
|
|
|
function test(uint256 a, uint256 b)
|
|
external
|
|
returns (uint256 r_a, uint256 r_b)
|
|
{
|
|
r_a = f(a + 7);
|
|
r_b = b;
|
|
}
|
|
}
|
|
// ----
|
|
// test(uint256,uint256): 2, 3 -> 9, 3
|