aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/parsing/while_loop.sol
blob: cdac929f8d41c18eb2033344163f82c50fb62800 (plain) (blame)
1
2
3
4
5
6
7
8
contract test {
    function fun() public pure {
        uint256 x;
        while (true) { x = 1; break; continue; } x = 9;
    }
}
// ----
// Warning: (105-113): Unreachable code.