mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Extract yul syntax tests: function
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
{
|
||||
for {}
|
||||
1:bool
|
||||
{for {function foo() {}} 1:bool {} {} }
|
||||
{}
|
||||
}
|
||||
// ----
|
||||
// SyntaxError 3441: (27-35): Functions cannot be defined inside a for-loop init block.
|
||||
Reference in New Issue
Block a user