mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
		
			292 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			292 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
| contract C {
 | |
|     function foo() pure internal {
 | |
|         address(10).staticcall{value: 7, gas: 3}("");
 | |
|     }
 | |
| }
 | |
| // ====
 | |
| // EVMVersion: >=byzantium
 | |
| // ----
 | |
| // TypeError 2842: (56-96): Cannot set option "value" for staticcall.
 | |
| // Warning 9302: (56-100): Return value of low-level calls not used.
 |