mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
		
			538 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			538 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
| interface I {
 | |
|     modifier m { _; }
 | |
|     modifier mu;
 | |
|     modifier mv virtual { _; }
 | |
|     modifier muv virtual;
 | |
| }
 | |
| // ----
 | |
| // TypeError 6408: (18-35): Modifiers cannot be defined or declared in interfaces.
 | |
| // TypeError 6408: (40-52): Modifiers cannot be defined or declared in interfaces.
 | |
| // TypeError 8063: (40-52): Modifiers without implementation must be marked virtual.
 | |
| // TypeError 6408: (57-83): Modifiers cannot be defined or declared in interfaces.
 | |
| // TypeError 6408: (88-109): Modifiers cannot be defined or declared in interfaces.
 |