mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
13 lines
257 B
Solidity
13 lines
257 B
Solidity
contract c {
|
|
fallback() external { data = msg.data; }
|
|
function del() public returns (bool) { delete data; return true; }
|
|
bytes data;
|
|
}
|
|
// ====
|
|
// compileViaYul: also
|
|
// ----
|
|
// (): 7 ->
|
|
// storage: nonempty
|
|
// del(): 7 -> true
|
|
// storage: empty
|