aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/011_type_conversion_for_comparison_invalid.sol
blob: 9cbce0d0660c949470c476ad5ea8d485aff99152 (plain) (blame)
1
2
3
4
5
contract test {
    function f() public { int32(2) == uint64(2); }
}
// ----
// TypeError: (42-63): Operator == not compatible with types int32 and uint64