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

4 lines
118 B
Solidity
Raw Normal View History

2021-01-28 11:56:22 +00:00
error Error(uint);
// ----
// SyntaxError 1855: (0-18): The built-in errors "Error" and "Panic" cannot be re-defined.