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

4 lines
182 B
Solidity

contract test { bytes a; bytes b; fallback() external { a == b; } }
// ----
// TypeError 2271: (56-62): Operator == not compatible with types bytes storage ref and bytes storage ref