solidity/test/libsolidity/syntaxTests/nameAndTypeResolution/108_empty_name_return_parameter_with_named_one.sol

8 lines
210 B
Solidity

contract test {
function f() public returns (uint ret_k, uint) {
return 5;
}
}
// ----
// TypeError 8863: (77-85): Different number of arguments in return statement than in returns declaration.