11 lines
111 B
V
11 lines
111 B
V
|
struct Test {
|
||
|
err IError
|
||
|
}
|
||
|
|
||
|
fn test_init_with_none() {
|
||
|
t := Test{
|
||
|
err: none
|
||
|
}
|
||
|
// compiles successfully
|
||
|
}
|