solidity/test/libsolidity/syntaxTests/events/event_struct.sol
2019-12-12 10:59:07 +01:00

7 lines
196 B
Solidity

contract c {
struct S { uint a ; }
event E(S);
}
// ----
// TypeError: (51-52): This type is only supported in ABIEncoderV2. Use "pragma experimental ABIEncoderV2;" to enable the feature.