mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Move most event-related syntax tests from nameAndTypeResolution/ to events/
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
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.
|
||||
Reference in New Issue
Block a user