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

9 lines
184 B
Plaintext

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