solidity/test/libsolidity/syntaxTests/nameAndTypeResolution/202_bytes_reference_compare_operators.sol

4 lines
175 B
Solidity

contract test { bytes a; bytes b; function() public { a == b; } }
// ----
// TypeError: (54-60): Operator == not compatible with types bytes storage ref and bytes storage ref