solidity/test/libsolidity/syntaxTests/structs/recursion/recursive_struct_function_pointer.sol
2020-11-24 14:57:45 +01:00

11 lines
202 B
Solidity

pragma abicoder v2;
contract C {
struct S {
uint a;
function() external returns (S memory) sub;
}
function f() public pure returns (S memory) {
}
}
// ----