v/vlib/v/tests/if_expr_with_struct_init_te...

12 lines
126 B
V

struct Foo {
bar int
}
fn test_if_expr_with_struct_init() {
a := Foo{}
if a == Foo{} {
println(true)
assert true
}
}