mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			8 lines
		
	
	
		
			253 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			253 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
interface I {
 | 
						|
  function f() external m pure returns (uint);
 | 
						|
  modifier m() { _; }
 | 
						|
}
 | 
						|
// ----
 | 
						|
// SyntaxError 5842: (16-60): Functions in interfaces cannot have modifiers.
 | 
						|
// TypeError 6408: (63-82): Modifiers cannot be defined or declared in interfaces.
 |