solidity/test/libsolidity/syntaxTests/nameAndTypeResolution/typeChecking/return_wrong_number.sol

6 lines
203 B
Solidity
Raw Normal View History

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