v/vlib/v/tests/struct_ierror_test.v

11 lines
111 B
V
Raw Normal View History

2021-07-30 02:18:20 +02:00
struct Test {
err IError
}
fn test_init_with_none() {
t := Test{
err: none
}
// compiles successfully
}