v/vlib/compiler/tests/cstrings_test.v

10 lines
107 B
V
Raw Normal View History

2019-12-04 11:34:06 +01:00
fn C.puts(charptr) int
fn test_cstring(){
h := c'world'
C.puts(c'hello')
C.puts(h)
assert true
}