solidity/test/libsolidity/syntaxTests/controlFlow/unreachableCode/assembly/for_continue.sol
2020-03-09 16:23:10 +01:00

13 lines
256 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: (163-174): Unreachable code.