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