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

9 lines
152 B
Solidity
Raw Normal View History

2021-01-28 11:56:22 +00:00
contract A {
error Err(uint);
}
contract B is A {
error Err(bytes32);
}
// ----
// DeclarationError 9097: (58-77): Identifier already declared.