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 A {
 | 
						|
    function dup() public returns (uint) {
 | 
						|
        return 1;
 | 
						|
    }
 | 
						|
}
 | 
						|
contract B {
 | 
						|
    event dup();
 | 
						|
}
 | 
						|
contract C is A, B {
 | 
						|
}
 | 
						|
// ----
 | 
						|
// DeclarationError 9097: (99-111): Identifier already declared.
 |