solidity/test/libsolidity/syntaxTests/nameAndTypeResolution/007_type_checking_return_wrong_number.sol

6 lines
198 B
Solidity

contract test {
function f() public returns (bool r1, bool r2) { return 1 >= 2; }
}
// ----
// TypeError: (69-82): Different number of arguments in return statement than in returns declaration.