mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			184 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			184 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
pragma experimental SMTChecker;
 | 
						|
 | 
						|
contract C
 | 
						|
{
 | 
						|
	uint x;
 | 
						|
	function f(uint y) public {
 | 
						|
		x = y;
 | 
						|
	}
 | 
						|
	function g(uint y) public {
 | 
						|
		require(y < 1000);
 | 
						|
		this.f(y);
 | 
						|
		assert(x < 1000);
 | 
						|
	}
 | 
						|
}
 |