mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			7 lines
		
	
	
		
			161 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			7 lines
		
	
	
		
			161 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
| contract C {
 | |
|     uint x;
 | |
|     function g() public returns (uint) { return x; }
 | |
| }
 | |
| // ----
 | |
| // Warning: (29-77): Function state mutability can be restricted to view
 |