mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
22 lines
329 B
Plaintext
22 lines
329 B
Plaintext
{
|
|
let x := 0
|
|
switch calldataload(0)
|
|
case 0 {
|
|
x := calldataload(99)
|
|
}
|
|
case 1 {
|
|
if 0 { revert(0, 0) }
|
|
}
|
|
sstore(0, x)
|
|
}
|
|
// ----
|
|
// step: fullSuite
|
|
//
|
|
// {
|
|
// {
|
|
// let x := 0
|
|
// if iszero(calldataload(x)) { x := calldataload(99) }
|
|
// sstore(0, x)
|
|
// }
|
|
// }
|