aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/controlFlow/unreachableCode/revert_empty.sol
blob: 4c80c5ca2d2c9481d0a9e0faeef8a76ae009f342 (plain) (blame)
1
2
3
4
5
6
7
8
contract C {
    function f() public pure {
        revert();
        for(int i = 0; i < 3; i++) { f(); }
    }
}
// ----
// Warning: (70-105): Unreachable code.