mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			8 lines
		
	
	
		
			251 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			251 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
| 
 | |
| contract C {
 | |
|     event E(uint);
 | |
|     function() internal pure x = E;
 | |
| }
 | |
| // ----
 | |
| // TypeError 7407: (66-67): Type event E(uint256) is not implicitly convertible to expected type function () pure. Special functions cannot be converted to function types.
 |