mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			9 lines
		
	
	
		
			215 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			215 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
| contract D {}
 | |
| contract C {
 | |
|     function foo(int a) pure internal {
 | |
|         foo{gas: 5};
 | |
|     }
 | |
| }
 | |
| // ----
 | |
| // TypeError: (75-86): Function call options can only be set on external function calls or contract creations.
 |