mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			22 lines
		
	
	
		
			450 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			450 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
pragma experimental SMTChecker;
 | 
						|
 | 
						|
contract C
 | 
						|
{
 | 
						|
	address owner;
 | 
						|
	modifier m {
 | 
						|
		if (true)
 | 
						|
			owner = g();
 | 
						|
		_;
 | 
						|
	}
 | 
						|
	function f() m public {
 | 
						|
	}
 | 
						|
	function g() public pure returns (address) {
 | 
						|
		address a;
 | 
						|
		a = address(0);
 | 
						|
		return a;
 | 
						|
	}
 | 
						|
}
 | 
						|
// ----
 | 
						|
// Warning 5084: (205-215): Type conversion is not yet fully supported and might yield false positives.
 | 
						|
// Warning 5084: (205-215): Type conversion is not yet fully supported and might yield false positives.
 |