mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
		
			285 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			285 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
| pragma experimental SMTChecker;
 | |
| 
 | |
| contract C
 | |
| {
 | |
| 	uint[][] a;
 | |
| 	function f() public {
 | |
| 		require(a[2][3] == 4);
 | |
| 		delete a;
 | |
| 		// Fails as false positive.
 | |
| 		// setZeroValue needs forall for arrays.
 | |
| 		assert(a[2][3] == 0);
 | |
| 	}
 | |
| }
 | |
| // ----
 | |
| // Warning: (194-214): Assertion violation happens here
 |