solidity/test/libsolidity/syntaxTests/errors/error_reserved_name.sol
2021-02-02 16:31:36 +01:00

5 lines
163 B
Solidity

// TODO do we want to disallow this at all?
error Error(uint);
// ----
// SyntaxError 1855: (44-62): The built-in errors "Error" and "Panic" cannot be re-defined.