mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
6 lines
159 B
Plaintext
6 lines
159 B
Plaintext
|
{
|
||
|
for { for {function foo() {}} 1:bool {} {} } 1:bool {} {}
|
||
|
}
|
||
|
// ----
|
||
|
// SyntaxError 3441: (14-22): Functions cannot be defined inside a for-loop init block.
|