solidity/test/libsolidity/syntaxTests/errors/no_structs_in_abiv1.sol
2021-02-11 14:18:04 +01:00

8 lines
206 B
Solidity

pragma abicoder v1;
struct S {uint a;}
contract C {
error MyError(S);
}
// ----
// TypeError 3061: (70-71): This type is only supported in ABI coder v2. Use "pragma abicoder v2;" to enable the feature.