solidity/test/libsolidity/semanticTests/smoke_test_multiline.sol

14 lines
289 B
Solidity
Raw Normal View History

contract C {
function f(uint a, uint b, uint c, uint d, uint e) public returns (uint) {
return a + b + c + d + e;
}
}
2019-05-23 14:38:11 +00:00
// ====
// compileViaYul: also
// ----
// f(uint256,uint256,uint256,uint256,uint256): 1, 1, 1, 1, 1
// -> 5
// g()
// # g() does not exist #
// -> FAILURE