solidity/test/libsolidity/syntaxTests/controlFlow/unreachableCode/assembly/for_continue.sol

13 lines
261 B
Solidity

contract C {
function f() public pure {
assembly {
for { let a := 0} lt(a,1) { a := add(a, 1) } {
continue
let b := 42
}
}
}
}
// ----
// Warning 5740: (163-174): Unreachable code.