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

8 lines
282 B
Solidity

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