aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/controlFlow/unreachableCode/revert.sol
blob: 9bb6a41cddaa9220dc418b6830e0a9f9201e6b71 (plain) (blame)
1
2
3
4
5
6
7
8
contract C {
    function f() public pure {
        revert();
        uint a = 0; a;
    }
}
// ----
// Warning: (70-83): Unreachable code.