tests: valgrind: enable string tests
							parent
							
								
									5b47ec49af
								
							
						
					
					
						commit
						1ea13ac7f3
					
				|  | @ -12,8 +12,8 @@ fn foo() { | |||
| 	nums_copy := nums // array assignments call .clone()
 | ||||
| 	println(nums_copy) | ||||
| 
 | ||||
| 	//name  := 'Peter' // string literals mustn't be freed
 | ||||
| 	//str_inter := 'hello, $name' // concatenated strings must be freed
 | ||||
| 	name  := 'Peter' // string literals mustn't be freed
 | ||||
| 	str_inter := 'hello, $name' // concatenated strings must be freed
 | ||||
| 
 | ||||
| 
 | ||||
| 	//nums.free() // this should result in a double free and a CI error
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue