1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

fix interface test

This commit is contained in:
Alexander Medvednikov 2020-03-31 21:05:48 +02:00
parent 050ec5d9e3
commit 2ac074655f
2 changed files with 8 additions and 7 deletions

View File

@ -1,5 +1,4 @@
fn test_cstring() {
fn test_cstring(){
w := c'world' w := c'world'
hlen := C.strlen(c'hello') hlen := C.strlen(c'hello')
wlen := C.strlen(w) wlen := C.strlen(w)

View File

@ -22,6 +22,8 @@ fn (d Dog) name() string {
return 'Dog' return 'Dog'
} }
fn test_todo() {}
/* /*
interface Speaker { interface Speaker {
name ()string name ()string