mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
11 lines
195 B
Solidity
11 lines
195 B
Solidity
|
contract StorageNotEmpty {
|
||
|
uint256 x;
|
||
|
function set(uint256 _a) public { x = _a; }
|
||
|
}
|
||
|
// ====
|
||
|
// compileViaYul: also
|
||
|
// ----
|
||
|
// storageEmpty -> 1
|
||
|
// set(uint256): 1 ->
|
||
|
// storageEmpty -> 0
|