mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
CI: fix msvc (temporary work around dialogs poping up)
This commit is contained in:
parent
4ca453b6de
commit
98374ea6fe
@ -1,9 +1,8 @@
|
||||
|
||||
fn C.puts(charptr) int
|
||||
|
||||
fn test_cstring(){
|
||||
h := c'world'
|
||||
C.puts(c'hello')
|
||||
C.puts(h)
|
||||
assert true
|
||||
w := c'world'
|
||||
hlen := C.strlen(c'hello')
|
||||
wlen := C.strlen(w)
|
||||
assert hlen == 5
|
||||
assert wlen == 5
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user