autofree: add skipped string_plus_string_plus.v sample
parent
6e4bda3741
commit
735c961682
|
@ -0,0 +1,11 @@
|
|||
fn abcd() string {
|
||||
a := 'abc'
|
||||
b := 'def'
|
||||
c := 'xyz'
|
||||
d := '123'
|
||||
return a + b + c + d
|
||||
}
|
||||
|
||||
fn main() {
|
||||
println(abcd())
|
||||
}
|
|
@ -28,6 +28,7 @@ const skip_valgrind_files = [
|
|||
'vlib/v/tests/valgrind/fn_returning_string_param.v',
|
||||
'vlib/v/tests/valgrind/fn_with_return_should_free_local_vars.v',
|
||||
'vlib/v/tests/valgrind/option_simple.v',
|
||||
'vlib/v/tests/valgrind/string_plus_string_plus.v',
|
||||
]
|
||||
|
||||
fn vprintln(s string) {
|
||||
|
|
Loading…
Reference in New Issue