mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Refactoring of the ControlFlowGraph and use for detecting all uninitialized storage accesses.
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
contract C {
|
||||
uint[] s;
|
||||
function f() internal returns (uint[] storage a)
|
||||
{
|
||||
revert();
|
||||
a[0] = 0;
|
||||
a = s;
|
||||
}
|
||||
}
|
||||
// ----
|
||||
Reference in New Issue
Block a user