solidity/test/libyul/yulSyntaxTests/for_statement_break_post.yul

9 lines
185 B
Plaintext
Raw Normal View History

{
let x:bool
for {let i := 0 } x {i := add(i, 1) break} {}
}
// ====
// dialect: evmTyped
// ----
// SyntaxError 2461: (51-56): Keyword "break" in for-loop post block is not allowed.