mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
		
			437 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			437 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
pragma abicoder               v2;
 | 
						|
contract C {
 | 
						|
	function f(uint a, uint[] calldata b, uint c) external pure returns (uint) {
 | 
						|
		return 7;
 | 
						|
	}
 | 
						|
}
 | 
						|
// ====
 | 
						|
// EVMVersion: >=byzantium
 | 
						|
// revertStrings: debug
 | 
						|
// compileViaYul: also
 | 
						|
// ----
 | 
						|
// f(uint256,uint256[],uint256): 6, 0x60, 9, 0x1000000000000000000000000000000000000000000000000000000000000002, 1, 2 -> FAILURE, hex"08c379a0", 0x20, 43, "ABI decoding: invalid calldata a", "rray length"
 |