mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
		
			348 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			348 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;
 | 
						|
    }
 | 
						|
}
 | 
						|
// ====
 | 
						|
// compileViaYul: also
 | 
						|
// compileToEwasm: also
 | 
						|
// allowNonExistingFunctions: true
 | 
						|
// ----
 | 
						|
// f(uint256,uint256,uint256,uint256,uint256): 1, 1, 1, 1, 1
 | 
						|
// -> 5
 | 
						|
// g()
 | 
						|
// # g() does not exist #
 | 
						|
// -> FAILURE
 |