solidity/test/libsolidity/syntaxTests/nameAndTypeResolution/048_returning_arrays_in_structs_arrays.sol
2019-12-12 10:59:07 +01:00

7 lines
236 B
Solidity

contract C {
struct S { string[] s; }
function f() public pure returns (S memory x) {}
}
// ----
// TypeError: (80-90): This type is only supported in ABIEncoderV2. Use "pragma experimental ABIEncoderV2;" to enable the feature.