solidity/test/libsolidity/syntaxTests/nameAndTypeResolution/typeChecking/return_wrong_number.sol
2019-02-13 15:52:31 +01:00

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.