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

9 lines
192 B
Solidity

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