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

12 lines
194 B
Solidity
Raw Normal View History

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