mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			7 lines
		
	
	
		
			191 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			7 lines
		
	
	
		
			191 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
| contract c {
 | |
|     modifier mod1(uint a) { if (msg.sender == address(uint160(a))) _; }
 | |
|     modifier mod2 { if (msg.sender == address(2)) _; }
 | |
|     function f() public mod1(7) mod2 { }
 | |
| }
 | |
| // ----
 |