mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Update cmdline tests.
This commit is contained in:
parent
9fcf16900d
commit
d03744489f
@ -139,14 +139,14 @@ object "C_59" {
|
|||||||
}
|
}
|
||||||
function storage_array_index_access_struct_S_1252() -> slot, offset
|
function storage_array_index_access_struct_S_1252() -> slot, offset
|
||||||
{
|
{
|
||||||
if iszero(lt(slot, 0x02)) { panic_error_0x32() }
|
if iszero(lt(offset, 0x02)) { panic_error_0x32() }
|
||||||
slot := add(slot, slot)
|
slot := add(offset, offset)
|
||||||
offset := offset
|
offset := offset
|
||||||
}
|
}
|
||||||
function storage_array_index_access_struct_S() -> slot, offset
|
function storage_array_index_access_struct_S() -> slot, offset
|
||||||
{
|
{
|
||||||
if iszero(lt(slot, 0x02)) { panic_error_0x32() }
|
if iszero(lt(offset, 0x02)) { panic_error_0x32() }
|
||||||
slot := add(0x02, slot)
|
slot := add(0x02, offset)
|
||||||
offset := offset
|
offset := offset
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user