solidity/test/libsolidity/syntaxTests/controlFlow/uninitializedAccess/unreachable.sol

11 lines
153 B
Solidity
Raw Normal View History

contract C {
uint[] s;
function f() internal returns (uint[] storage a)
{
revert();
a[0] = 0;
a = s;
}
}
// ----