v/vlib/v/tests/struct_ierror_test.v

11 lines
111 B
V

struct Test {
err IError
}
fn test_init_with_none() {
t := Test{
err: none
}
// compiles successfully
}