mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
6 lines
226 B
Solidity
6 lines
226 B
Solidity
|
contract test {
|
||
|
function f() public returns (uint256 r) { return 1 >= 2; }
|
||
|
}
|
||
|
// ----
|
||
|
// TypeError: (69-75): Return argument type bool is not implicitly convertible to expected type (type of first return variable) uint256.
|