solidity/test/libsolidity/syntaxTests/events/event_nested_array_in_struct.sol

8 lines
217 B
Solidity
Raw Normal View History

pragma abicoder v1;
contract c {
struct S { uint x; uint[][] arr; }
event E(S);
}
// ----
// TypeError 3061: (81-82): This type is only supported in ABI coder v2. Use "pragma abicoder v2;" to enable the feature.