mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			8 lines
		
	
	
		
			179 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			179 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
| contract C {
 | |
|     uint x;
 | |
|     fallback() external { x = 2; }
 | |
|     fallback() external { x = 3; }
 | |
| }
 | |
| // ----
 | |
| // DeclarationError 7301: (64-94): Only one fallback function is allowed.
 |