v/vlib/v/checker/tests/no_interface_instantiation_...

8 lines
72 B
V

interface Speaker {}
fn my_fn(s Speaker) {}
fn main() {
my_fn()
}