mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			10 lines
		
	
	
		
			184 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			184 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
| contract test {
 | |
| 	function f() pure public {
 | |
| 		uint256 x;
 | |
| 		x = 1;
 | |
| 		if (true) { uint256 x; x = 2; }
 | |
| 	}
 | |
| }
 | |
| // ----
 | |
| // Warning: (80-89): This declaration shadows an existing declaration.
 |