mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			473 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			473 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
interface I {
 | 
						|
    function f(uint[] calldata) external pure;
 | 
						|
    function g(uint[] calldata) external view;
 | 
						|
    function h(uint[] calldata) external;
 | 
						|
    function i(uint[] calldata) external payable;
 | 
						|
}
 | 
						|
contract C is I {
 | 
						|
    uint dummy;
 | 
						|
    function f(uint[] memory) public override pure {}
 | 
						|
    function g(uint[] memory) public override view { dummy; }
 | 
						|
    function h(uint[] memory) public override { dummy = 42; }
 | 
						|
    function i(uint[] memory) public override payable {}
 | 
						|
}
 |