solidity/test/libsolidity/syntaxTests/controlFlow/uninitializedAccess/always_revert.sol
2019-01-10 10:36:50 +01:00

11 lines
185 B
Solidity

contract C {
function f() internal view returns(uint[] storage a)
{
uint b = a[0];
revert();
b;
}
}
// ----
// Warning: (125-126): Unreachable code.