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

12 lines
189 B
Plaintext

{
let x:bool
for {let i := 0} x {}
{
function f() { break }
}
}
// ====
// dialect: evmTyped
// ----
// SyntaxError 2592: (57-62): Keyword "break" needs to be inside a for-loop body.