mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
9 lines
107 B
V
9 lines
107 B
V
struct Aaa {
|
|
foo int
|
|
}
|
|
|
|
fn test_pointer_to_string() {
|
|
a := Aaa{}
|
|
assert a.foo.str() != (&a.foo).str()
|
|
}
|