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(){
|
fn test_cstring(){
|
||||||
h := c'world'
|
w := c'world'
|
||||||
C.puts(c'hello')
|
hlen := C.strlen(c'hello')
|
||||||
C.puts(h)
|
wlen := C.strlen(w)
|
||||||
assert true
|
assert hlen == 5
|
||||||
|
assert wlen == 5
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user