mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
10 lines
116 B
V
10 lines
116 B
V
![]() |
import os2
|
||
|
|
||
|
fn test_open() {
|
||
|
$if mac {
|
||
|
f := os2.create('os2.test')
|
||
|
f.writeln('hello world!')
|
||
|
f.close()
|
||
|
}
|
||
|
}
|