mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
testing: allow tests to import the same module with no custom options
This commit is contained in:

committed by
Alexander Medvednikov

parent
ec36755407
commit
fc64238a39
9
vlib/compiler/tests/modules/simplemodule/simplemodule.v
Normal file
9
vlib/compiler/tests/modules/simplemodule/simplemodule.v
Normal file
@ -0,0 +1,9 @@
|
||||
module simplemodule
|
||||
|
||||
pub fn iadd(x int, y int) int {
|
||||
return x + y
|
||||
}
|
||||
|
||||
pub fn imul(x int, y int) int {
|
||||
return x * y
|
||||
}
|
Reference in New Issue
Block a user