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

11 lines
210 B
Solidity

contract A {
event X(uint, uint indexed);
}
contract B {
event X(uint, uint);
}
contract C is A, B {
}
// ----
// DeclarationError 5883: (65-85): Event with same name and parameter types defined twice.