solidity/test/libyul/yulSyntaxTests/function_defined_in_init_nested_3.yul

9 lines
163 B
Plaintext
Raw Normal View History

2020-10-14 10:05:36 +00:00
{
for {}
1:bool
{for {function foo() {}} 1:bool {} {} }
{}
}
// ----
// SyntaxError 3441: (27-35): Functions cannot be defined inside a for-loop init block.