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