mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			244 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			244 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
contract A {
 | 
						|
	function f() public pure returns (uint, uint, uint, uint) {
 | 
						|
		uint x = 3;
 | 
						|
		uint y = 1;
 | 
						|
		uint z = (x > y) ? x : y;
 | 
						|
		uint w = x < y ? x : y;
 | 
						|
		return (x, y, z, w);
 | 
						|
	}
 | 
						|
}
 | 
						|
// ====
 | 
						|
// compileViaYul: also
 | 
						|
// ----
 | 
						|
// f() -> 3, 1, 3, 1
 |