fix interface test
parent
050ec5d9e3
commit
2ac074655f
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
fn test_cstring() {
|
fn test_cstring() {
|
||||||
w := c'world'
|
w := c'world'
|
||||||
hlen := C.strlen(c'hello')
|
hlen := C.strlen(c'hello')
|
||||||
|
|
|
@ -22,6 +22,8 @@ fn (d Dog) name() string {
|
||||||
return 'Dog'
|
return 'Dog'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fn test_todo() {}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
interface Speaker {
|
interface Speaker {
|
||||||
name ()string
|
name ()string
|
||||||
|
|
Loading…
Reference in New Issue