solidity/test/libsolidity/syntaxTests/events/event_struct.sol
2020-11-03 13:31:51 +01:00

7 lines
187 B
Solidity

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