solidity/test/libsolidity/semanticTests/smoke/multiline.sol
2023-05-11 10:56:55 -05:00

14 lines
301 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;
}
}
// ====
// allowNonExistingFunctions: true
// ----
// f(uint256,uint256,uint256,uint256,uint256): 1, 1, 1, 1, 1
// -> 5
// g()
// # g() does not exist #
// -> FAILURE