v/vlib/v/tests/pointers_str_test.v

9 lines
107 B
V

struct Aaa {
foo int
}
fn test_pointer_to_string() {
a := Aaa{}
assert a.foo.str() != (&a.foo).str()
}