mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
		
			282 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			282 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
pragma experimental SMTChecker;
 | 
						|
 | 
						|
contract C {
 | 
						|
	function g(uint y) public {
 | 
						|
		uint z = L.f(y);
 | 
						|
		assert(z == y);
 | 
						|
	}
 | 
						|
}
 | 
						|
 | 
						|
library L {
 | 
						|
	function f(uint x) internal returns (uint) {
 | 
						|
		return x;
 | 
						|
	}
 | 
						|
}
 | 
						|
 | 
						|
// ----
 | 
						|
// Warning 2018: (131-190): Function state mutability can be restricted to pure
 |