solidity/test/libsolidity/syntaxTests/nameAndTypeResolution/281_continue_not_in_loop_2.sol

11 lines
193 B
Solidity

contract C {
function f() public {
while (true)
{
}
continue;
}
}
// ----
// SyntaxError 4123: (88-96): "continue" has to be in a "for" or "while" loop.