mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			9 lines
		
	
	
		
			251 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			251 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
| contract C {
 | |
|     function foo() pure internal {
 | |
|         address(10).delegatecall{value: 7, gas: 3}("");
 | |
|     }
 | |
| }
 | |
| // ----
 | |
| // TypeError: (56-98): Cannot set option "value" for delegatecall.
 | |
| // Warning: (56-102): Return value of low-level calls not used.
 |