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

9 lines
151 B
Plaintext

{
let x:bool
if x { break }
}
// ====
// dialect: evmTyped
// ----
// SyntaxError 2592: (22-27): Keyword "break" needs to be inside a for-loop body.