mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix yul codegen bug when using binary negatition.
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
contract C {
|
||||
function f() public returns (bool) {
|
||||
return
|
||||
0 <
|
||||
~~84926290883049832306107864558384249403874903260938453235235091622489261765859;
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// f() -> true
|
||||
Reference in New Issue
Block a user