1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

Revert "tests: valgrind: enable string tests"

This reverts commit 1ea13ac7f3.
This commit is contained in:
Alexander Medvednikov 2020-05-08 16:18:14 +02:00
parent 1ea13ac7f3
commit 6ea741e26e

View File

@ -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