mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
		
			221 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			221 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
library L {
 | 
						|
    modifier m() { _; }
 | 
						|
}
 | 
						|
contract C {
 | 
						|
    using L for *;
 | 
						|
    function f() L.m public {
 | 
						|
    }
 | 
						|
}
 | 
						|
// ----
 | 
						|
// TypeError 9428: (87-90): Can only use modifiers defined in the current contract or in base contracts.
 |