Skip to content

Commit

Permalink
add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kbkpbot committed Jan 15, 2025
1 parent 0d71aa9 commit bff8912
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vlib/v/tests/skip_unused/auto_string.run.out
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Hello Tom
C->&Tom
&1.24
3 changes: 3 additions & 0 deletions vlib/v/tests/skip_unused/auto_string.skip_unused.run.out
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Hello Tom
C->&Tom
&1.24
9 changes: 9 additions & 0 deletions vlib/v/tests/skip_unused/auto_string.vv
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
a := 'Tom'
b := 'Hello ${a}'
c := &a
println(b)
println('C->${c}')

f := 1.24
f_p := &f
println('${f_p}')

0 comments on commit bff8912

Please sign in to comment.