2018-03-15 17:19:45 +00:00
|
|
|
contract C {
|
|
|
|
struct S { uint a; S[] sub; }
|
|
|
|
function f() public pure returns (uint, S) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// ----
|
2018-04-06 16:37:01 +00:00
|
|
|
// TypeError: (91-92): Internal or recursive type is not allowed for public or external functions.
|