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

7 lines
211 B
Solidity
Raw Normal View History

contract c {
struct S { uint x; uint[][] arr; }
event E(S);
}
// ----
// TypeError 3061: (61-62): This type is only supported in ABIEncoderV2. Use "pragma experimental ABIEncoderV2;" to enable the feature.