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

11 lines
202 B
Solidity
Raw Normal View History

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