solidity/test/libsolidity/syntaxTests/structs/recursion/recursive_struct_function_pointer.sol
2020-04-16 16:42:12 +02:00

11 lines
202 B
Solidity

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