v/vlib/v/checker/tests/check_generic_int_init.vv

8 lines
64 B
V

fn test<T>() T {
return T{}
}
fn main() {
_ := test<int>()
}