mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
12 lines
189 B
Plaintext
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.
|