mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
10 lines
107 B
V
10 lines
107 B
V
![]() |
|
||
|
fn C.puts(charptr) int
|
||
|
|
||
|
fn test_cstring(){
|
||
|
h := c'world'
|
||
|
C.puts(c'hello')
|
||
|
C.puts(h)
|
||
|
assert true
|
||
|
}
|