mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
19 lines
128 B
V
19 lines
128 B
V
struct S1 {
|
|
pub mut:
|
|
v u8
|
|
module:
|
|
i int
|
|
}
|
|
|
|
struct S2 {
|
|
module:
|
|
j int
|
|
mut:
|
|
v u8
|
|
}
|
|
|
|
mut s := S1{}
|
|
s.i++
|
|
mut s2 := S2{}
|
|
s2.j++
|