mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Extract yul syntax tests: for statement
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
{
|
||||
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.
|
||||
Reference in New Issue
Block a user