solidity/test/libsolidity/syntaxTests/parsing/while_loop.sol
2019-01-10 10:36:50 +01:00

9 lines
181 B
Solidity

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