mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			10 lines
		
	
	
		
			264 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			264 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
pragma experimental "v0.5.0";
 | 
						|
 | 
						|
contract Base {
 | 
						|
  constructor(uint) public {}
 | 
						|
}
 | 
						|
contract Derived is Base(2) { }
 | 
						|
contract Derived2 is Base(), Derived() { }
 | 
						|
// ----
 | 
						|
// TypeError: (132-138): Wrong argument count for constructor call: 0 arguments given but expected 1.
 |