mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Tests
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
{
|
||||
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
|
||||
Reference in New Issue
Block a user