aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/280_continue_not_in_loop.sol
blob: b0e8cda9171e58a2c2af3c9040870a49c20a271d (plain) (blame)
1
2
3
4
5
6
7
8
contract C {
    function f() public {
        if (true)
            continue;
    }
}
// ----
// SyntaxError: (69-77): "continue" has to be in a "for" or "while" loop.