mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
		
			259 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			259 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
function f(uint) returns (uint) {
 | 
						|
    return 2;
 | 
						|
}
 | 
						|
function f(string memory) returns (uint) {
 | 
						|
    return 3;
 | 
						|
}
 | 
						|
 | 
						|
contract C {
 | 
						|
  function g() public returns (uint, uint) {
 | 
						|
      return (f(2), f("abc"));
 | 
						|
  }
 | 
						|
}
 | 
						|
// ====
 | 
						|
// compileViaYul: also
 | 
						|
// ----
 | 
						|
// g() -> 2, 3
 |