aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/controlFlow/uninitializedAccess/always_revert.sol
blob: da7f1a900247509cb1ba1e875934bc673488c112 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
contract C {
    function f() internal view returns(uint[] storage a)
    {
        uint b = a[0];
        revert();
        b;
    }
}
// ----
// Warning: (125-126): Unreachable code.