solidity/test/libyul/yulSyntaxTests/for_statement_continue_fail_init.yul
2020-10-14 11:23:10 +02:00

11 lines
193 B
Plaintext

{
let x:bool
for {let i := 0 continue} x {i := add(i, 1)}
{
}
}
// ====
// dialect: evmTyped
// ----
// SyntaxError 9615: (31-39): Keyword "continue" in for-loop init block is not allowed.