solidity/test/libsolidity/syntaxTests/errors/no_structs_in_abiv1.sol
2021-03-30 21:15:18 +02: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.