mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
20 lines
349 B
Solidity
20 lines
349 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;
|
|
}
|
|
}
|
|
|
|
// ====
|
|
// compileToEwasm: also
|
|
// compileViaYul: also
|
|
// ----
|
|
// test(uint256,uint256): 2, 3 -> 9, 3
|