mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
9 lines
180 B
Solidity
9 lines
180 B
Solidity
|
contract A {
|
||
|
event X(uint);
|
||
|
}
|
||
|
contract B is A {
|
||
|
event X(uint indexed);
|
||
|
}
|
||
|
// ----
|
||
|
// DeclarationError 5883: (56-78): Event with same name and parameter types defined twice.
|