mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
13 lines
210 B
Solidity
13 lines
210 B
Solidity
contract B {
|
|
event dup();
|
|
}
|
|
contract A {
|
|
function dup() public returns (uint) {
|
|
return 1;
|
|
}
|
|
}
|
|
contract C is B, A {
|
|
}
|
|
// ----
|
|
// DeclarationError 9097: (49-111): Identifier already declared.
|