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

9 lines
249 B
Solidity

contract C {
struct S { uint a; S[][][] sub; }
struct T { S s; }
function f() public pure returns (uint x, T memory t) {
}
}
// ----
// TypeError 4103: (119-129): Recursive type not allowed for public or external contract functions.