mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			21 lines
		
	
	
		
			266 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			266 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
| contract C
 | |
| {
 | |
|     uint x;
 | |
|     address owner;
 | |
| 
 | |
| 	modifier onlyOwner {
 | |
|         if (msg.sender == owner) _;
 | |
|     }
 | |
| 
 | |
|     function f() public onlyOwner {
 | |
|     }
 | |
| 
 | |
|     function g(uint y) public {
 | |
|         y = 1;
 | |
|         if (y > x) f();
 | |
|     }
 | |
| }
 | |
| // ====
 | |
| // SMTEngine: all
 | |
| // ----
 |