solidity/test/libyul/yulSyntaxTests/function_defined_in_init_block_3.yul
2020-10-14 12:05:46 +02:00

6 lines
137 B
Plaintext

{
for { function f() {} } 1:bool {} {}
}
// ----
// SyntaxError 3441: (9-17): Functions cannot be defined inside a for-loop init block.