mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			267 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			267 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
contract C {
 | 
						|
    function f() external payable {}
 | 
						|
	function g(address a) external pure {
 | 
						|
		a.call{value: 42};
 | 
						|
		a.call{gas: 42};
 | 
						|
		a.staticcall{gas: 42};
 | 
						|
		a.delegatecall{gas: 42};
 | 
						|
	}
 | 
						|
	function h() external view {
 | 
						|
		this.f{value: 42};
 | 
						|
		this.f{gas: 42};
 | 
						|
	}
 | 
						|
}
 | 
						|
// ----
 |