mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
18 lines
384 B
Solidity
18 lines
384 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;
|
|
}
|
|
}
|
|
// ----
|
|
// 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. #
|