mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			370 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			370 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
==== Source: A ====
 | 
						|
contract A {
 | 
						|
	function g(uint256 x) public view returns(uint256) { return x; }
 | 
						|
}
 | 
						|
==== Source: B ====
 | 
						|
contract B {
 | 
						|
	function f(uint256 x) public view returns(uint256) { return x; }
 | 
						|
}
 | 
						|
// ----
 | 
						|
// Warning 2018: (A:14-78): Function state mutability can be restricted to pure
 | 
						|
// Warning 2018: (B:14-78): Function state mutability can be restricted to pure
 |