mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			8 lines
		
	
	
		
			242 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			242 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
| contract C { constructor(uint a) {} }
 | |
| contract B is C {
 | |
|     constructor() C(2) C(2) {}
 | |
| }
 | |
| // ----
 | |
| // DeclarationError 3364: (74-78): Base constructor arguments given twice.
 | |
| // DeclarationError 1697: (79-83): Base constructor already provided.
 |