mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			8 lines
		
	
	
		
			272 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			272 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
contract C {
 | 
						|
    // Check that visibility is also enforced for the fallback function.
 | 
						|
    function() {}
 | 
						|
}
 | 
						|
// ----
 | 
						|
// SyntaxError: (90-103): No visibility specified. Did you intend to add "external"?
 | 
						|
// TypeError: (90-103): Fallback function must be defined as "external".
 |