mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			268 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			268 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
 | |
| // compileToEwasm: also
 | |
| // ----
 | |
| // f() -> 3, 1, 3, 1
 |