mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			9 lines
		
	
	
		
			198 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			198 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
| contract A {
 | |
| 	function test() public returns (uint256) {}
 | |
| }
 | |
| contract X is A {
 | |
| 	function test() private returns (uint256) {}
 | |
| }
 | |
| // ----
 | |
| // TypeError: (79-123): Overriding function visibility differs.
 |