mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
8 lines
212 B
Solidity
8 lines
212 B
Solidity
contract C {
|
|
struct S { uint a; S[] sub; }
|
|
function f() public pure returns (uint, S memory) {
|
|
}
|
|
}
|
|
// ----
|
|
// TypeError: (91-99): Recursive type not allowed for public or external contract functions.
|