solidity/test/libsolidity/syntaxTests/parsing/while_loop.sol
2022-04-01 23:41:18 -05:00

9 lines
197 B
Solidity

contract test {
function fun() public pure {
uint256 x;
while (true) { x = 1; break; continue; } x = 9;
}
}
// ----
// Warning 5740: (105-113='continue'): Unreachable code.