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

4 lines
177 B
Solidity

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