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

9 lines
172 B
Solidity
Raw Normal View History

contract A {
event X(uint);
}
contract B is A {
event X(uint);
}
// ----
// DeclarationError 5883: (56-70): Event with same name and parameter types defined twice.