solidity/test/libsolidity/syntaxTests/errors/using_structs.sol

7 lines
89 B
Solidity
Raw Normal View History

2021-01-28 11:56:22 +00:00
struct S {uint a;}
contract C {
error MyError(S);
error MyError2(S t);
}
// ----