feat: update tests
This commit is contained in:
		
							parent
							
								
									30e52f0c56
								
							
						
					
					
						commit
						ef2c8994b0
					
				|  | @ -3,7 +3,7 @@ void memoryLeaks() { | |||
|   int *ptr = new int(42); | ||||
|   // Missing delete - memory leak
 | ||||
| 
 | ||||
|   int *array = new int[100]; | ||||
|   int const *array = new int[100]; | ||||
|   delete ptr; // Wrong deletion type for array
 | ||||
| 
 | ||||
|   // Double deletion
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user