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