solidity/test/libyul/yulSyntaxTests/break_outside_of_for_loop.yul

9 lines
151 B
Plaintext
Raw Normal View History

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