mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			21 lines
		
	
	
		
			439 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			439 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
| contract C {
 | |
|     function f(uint a, uint b, uint c, uint d, uint e) public returns (uint) {
 | |
|         return a + b + c + d + e;
 | |
|     }
 | |
| }
 | |
| // ====
 | |
| // compileToEwasm: also
 | |
| // compileViaYul: also
 | |
| // ----
 | |
| // f(uint256,uint256,uint256,uint256,uint256): 1, 1, 1, 1, 1
 | |
| // # A comment on the function parameters. #
 | |
| // -> 5
 | |
| // f(uint256,uint256,uint256,uint256,uint256):
 | |
| // 1,
 | |
| // 1,
 | |
| // 1,
 | |
| // 1,
 | |
| // 1
 | |
| // -> 5
 | |
| // # Should return sum of all parameters. #
 |