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

9 lines
185 B
Plaintext

{
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.