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

4 lines
120 B
Solidity
Raw Normal View History

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