mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
		
			228 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			228 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
| contract Test {
 | |
|   // This checks a scoping error,
 | |
|   // the variable "a" was not visible
 | |
|   // at the assignment.
 | |
|   function test(address _ext) external {
 | |
|     try Test(_ext).test(_ext) {} catch {}
 | |
|     uint a = 1;
 | |
|     a = 3;
 | |
|   }
 | |
| }
 |