aboutsummaryrefslogblamecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/197_integer_boolean_and.sol
blob: 94d1c69145592913ba1fb979202093b291f490a7 (plain) (tree)
1
2
3
                                                                         
       
                                                                                
contract test { function() external { uint x = 1; uint y = 2; x && y; } }
// ----
// TypeError: (62-68): Operator && not compatible with types uint256 and uint256