mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
23 lines
405 B
Plaintext
23 lines
405 B
Plaintext
{
|
|
function a() {
|
|
b()
|
|
}
|
|
function b() {
|
|
sstore(0, 1)
|
|
b()
|
|
}
|
|
function c() {
|
|
mstore(0, 1)
|
|
a()
|
|
d()
|
|
}
|
|
function d() {
|
|
}
|
|
}
|
|
// ----
|
|
// : movable, sideEffectFree, sideEffectFreeIfNoMSize
|
|
// a: invalidatesStorage
|
|
// b: invalidatesStorage
|
|
// c: invalidatesStorage, invalidatesMemory
|
|
// d: movable, sideEffectFree, sideEffectFreeIfNoMSize
|