solidity/test/libsolidity/syntaxTests/events/event_function_inheritance_clash.sol

13 lines
210 B
Solidity

contract A {
function dup() public returns (uint) {
return 1;
}
}
contract B {
event dup();
}
contract C is A, B {
}
// ----
// DeclarationError 9097: (99-111): Identifier already declared.