mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
18 lines
344 B
V
18 lines
344 B
V
fn make_flag(a, b, c string) string {
|
|
return ''
|
|
}
|
|
|
|
fn main() {
|
|
// Set up flags
|
|
expected_flags := [
|
|
make_flag('solaris', '-L', '/opt/local/lib'),
|
|
make_flag('darwin', '-framework', 'Cocoa'),
|
|
make_flag('windows', '-l', 'gdi32')
|
|
]
|
|
x := []int{len: 10, cap: 100, init: 1}
|
|
_ := expected_flags
|
|
buf := [100]byte
|
|
println(x)
|
|
println(buf)
|
|
}
|