mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Move AND with constant inside OR.
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
// SPDX-License-Identifier: GPL-3.0
|
||||
pragma solidity >=0.0;
|
||||
|
||||
contract OptimizeFullSlotWrite {
|
||||
uint64[4] nums;
|
||||
function f() public {
|
||||
nums[0] = 11111;
|
||||
nums[1] = 22222;
|
||||
nums[2] = 33333;
|
||||
nums[3] = 44444;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user