solidity/test/libsolidity/syntaxTests/structs/recursion/return_recursive_structs2.sol
2018-04-10 14:08:22 +02:00

8 lines
214 B
Solidity

contract C {
struct S { uint a; S[2][] sub; }
function f() public pure returns (uint, S) {
}
}
// ----
// TypeError: (94-95): Internal or recursive type is not allowed for public or external functions.