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

11 lines
185 B
Solidity
Raw Normal View History

contract C {
function f() internal view returns(uint[] storage a)
{
uint b = a[0];
revert();
b;
}
2019-01-08 18:33:46 +00:00
}
// ----
// Warning: (125-126): Unreachable code.