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

7 lines
204 B
Solidity
Raw Normal View History

contract c {
struct S { uint a ; }
event E(S indexed);
}
// ----
2019-12-11 16:05:44 +00:00
// TypeError: (51-60): This type is only supported in ABIEncoderV2. Use "pragma experimental ABIEncoderV2;" to enable the feature.