aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/events/event_struct_indexed.sol
blob: 69ee5017459f10212aee8781a1c2e2b261589286 (plain) (blame)
1
2
3
4
5
6
contract c {
    struct S { uint a ; }
    event E(S indexed);
}
// ----
// TypeError: (51-52): This type is only supported in the new experimental ABI encoder. Use "pragma experimental ABIEncoderV2;" to enable the feature.