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

8 lines
207 B
Solidity

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