mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Annotate struct definitions with a recursive flag.
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
pragma experimental ABIEncoderV2;
|
||||
contract C {
|
||||
struct S {
|
||||
uint a;
|
||||
function() external returns (S memory) sub;
|
||||
}
|
||||
function f() public pure returns (S memory) {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
Reference in New Issue
Block a user