aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/events/event_struct_indexed_v2.sol
blob: a1d8cf04e9500b9a1eed5e37ed013dcee01ede0f (plain) (blame)
1
2
3
4
5
6
7
8
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.