solidity/test/libsolidity/syntaxTests/events/event_struct_indexed.sol
2022-04-01 23:41:18 -05:00

8 lines
227 B
Solidity

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