1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
Files
v/vlib/v/checker/tests/generic_interface_err.vv

11 lines
106 B
V

struct Struct<T> {
value int
}
interface Interface<T> {
method() T
}
s := Struct{7}
i := Interface(s)