v/vlib/v/fmt/tests/array_newlines_keep.vv

18 lines
358 B
V

fn make_flag(a string, b string, c string) string {
return ''
}
fn main() {
// Set up flags
expected_flags := [
make_flag('solaris', '-L', '/opt/local/lib'),
make_flag('macos', '-framework', 'Cocoa'),
make_flag('windows', '-l', 'gdi32'),
]
x := []int{len: 10, cap: 100, init: 1}
_ := expected_flags
buf := [100]u8{}
println(x)
println(buf)
}