mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
8 lines
206 B
Solidity
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.
|