mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
20 lines
416 B
Solidity
20 lines
416 B
Solidity
contract C {
|
|
function f(uint a, uint b, uint c, uint d, uint e) public returns (uint) {
|
|
return a + b + c + d + e;
|
|
}
|
|
}
|
|
// ====
|
|
// compileToEwasm: also
|
|
// ----
|
|
// f(uint256,uint256,uint256,uint256,uint256): 1, 1, 1, 1, 1
|
|
// # A comment on the function parameters. #
|
|
// -> 5
|
|
// f(uint256,uint256,uint256,uint256,uint256):
|
|
// 1,
|
|
// 1,
|
|
// 1,
|
|
// 1,
|
|
// 1
|
|
// -> 5
|
|
// # Should return sum of all parameters. #
|