solidity/test/libsolidity/syntaxTests/structs/recursion/recursive_struct_function_pointer.sol

11 lines
202 B
Solidity
Raw Normal View History

2020-11-23 18:06:44 +00:00
pragma abicoder v2;
contract C {
struct S {
uint a;
function() external returns (S memory) sub;
}
function f() public pure returns (S memory) {
}
}
// ----