mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			356 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			356 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
contract test {
 | 
						|
    function a(uint a, uint b) public returns (uint r) {
 | 
						|
        r = a + b;
 | 
						|
    }
 | 
						|
    function b() public returns (uint r) {
 | 
						|
        r = a({});
 | 
						|
    }
 | 
						|
}
 | 
						|
// ----
 | 
						|
// Warning 2519: (31-37): This declaration shadows an existing declaration.
 | 
						|
// TypeError 6160: (153-158): Wrong argument count for function call: 0 arguments given but expected 2.
 |