mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
update new test.
This commit is contained in:
parent
d145919b5d
commit
cda882d130
@ -4,11 +4,11 @@
|
|||||||
sstore(x, y)
|
sstore(x, y)
|
||||||
switch calldataload(2)
|
switch calldataload(2)
|
||||||
case 0 {
|
case 0 {
|
||||||
x := 2
|
x := 20
|
||||||
sstore(x, y)
|
sstore(x, y)
|
||||||
}
|
}
|
||||||
default {
|
default {
|
||||||
x := 3
|
x := 30
|
||||||
sstore(x, y)
|
sstore(x, y)
|
||||||
}
|
}
|
||||||
let t := sload(x)
|
let t := sload(x)
|
||||||
@ -23,14 +23,13 @@
|
|||||||
// let x := calldataload(_1)
|
// let x := calldataload(_1)
|
||||||
// let y := calldataload(1)
|
// let y := calldataload(1)
|
||||||
// sstore(x, y)
|
// sstore(x, y)
|
||||||
// let _3 := 2
|
// switch calldataload(2)
|
||||||
// switch calldataload(_3)
|
|
||||||
// case 0 {
|
// case 0 {
|
||||||
// x := _3
|
// x := 20
|
||||||
// sstore(_3, y)
|
// sstore(x, y)
|
||||||
// }
|
// }
|
||||||
// default {
|
// default {
|
||||||
// x := 3
|
// x := 30
|
||||||
// sstore(x, y)
|
// sstore(x, y)
|
||||||
// }
|
// }
|
||||||
// sstore(_1, sload(x))
|
// sstore(_1, sload(x))
|
||||||
|
Loading…
Reference in New Issue
Block a user