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