mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
13 lines
223 B
Solidity
13 lines
223 B
Solidity
|
contract test {
|
||
|
function f() public returns (bool) {
|
||
|
bytes2 a = "a";
|
||
|
bytes2 x = "aa";
|
||
|
bytes2 b = "b";
|
||
|
return a < x && x < b;
|
||
|
}
|
||
|
}
|
||
|
// ====
|
||
|
// compileViaYul: also
|
||
|
// ----
|
||
|
// f() -> true
|