mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
8 lines
158 B
V
8 lines
158 B
V
|
import mymodules { add_xy }
|
||
|
import mymodules.submodule { sub_xy }
|
||
|
|
||
|
fn main() {
|
||
|
println(add_xy(2, 3)) // expected: 5
|
||
|
println(sub_xy(10, 7)) // expected: 3
|
||
|
}
|