v/vlib/compiler/tests/modules/amodule/module.v

16 lines
208 B
V
Raw Normal View History

module amodule
pub fn iadd(x int, y int) int {
return x + y
}
pub fn imul(x int, y int) int {
return x * y
}
///////////////////////////////////////
fn private_isub(x int, y int) int {
return x - y
}