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

9 lines
303 B
Solidity

pragma experimental ABIEncoderV2;
contract c {
struct S { uint a ; }
event E(S indexed);
}
// ----
// Warning: (0-33): Experimental features are turned on. Do not use experimental features on live deployments.
// TypeError: (85-94): Indexed reference types cannot yet be used with ABIEncoderV2.