mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
7 lines
71 B
V
7 lines
71 B
V
|
module test
|
||
|
|
||
|
[export: 'square']
|
||
|
fn square(i int) int {
|
||
|
return i * i
|
||
|
}
|