mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			9 lines
		
	
	
		
			275 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			275 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
| contract C {
 | |
|     receive() external payable { }
 | |
|     receive() external payable { }
 | |
|     receive() external payable { }
 | |
| }
 | |
| // ----
 | |
| // DeclarationError 4046: (52-82): Only one receive function is allowed.
 | |
| // DeclarationError 4046: (87-117): Only one receive function is allowed.
 |