mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
4 lines
161 B
Solidity
4 lines
161 B
Solidity
contract test { function() public { uint x = 1; uint y = 2; x && y; } }
|
|
// ----
|
|
// TypeError: (60-66): Operator && not compatible with types uint256 and uint256
|