solidity/test/libsolidity/syntaxTests/events/event_struct.sol
2018-08-03 13:41:27 +02:00

7 lines
216 B
Solidity

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