solidity/test/libsolidity/semanticTests/expressions/bytes_comparison.sol
2022-05-19 20:23:28 +02:00

13 lines
224 B
Solidity

contract test {
function f() public returns (bool) {
bytes2 a = "a";
bytes2 x = "aa";
bytes2 b = "b";
return a < x && x < b;
}
}
// ====
// compileToEwasm: also
// ----
// f() -> true