1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

tools: format most examples and tutorials, add them to v test-cleancode (#9826)

This commit is contained in:
Lukas Neubert
2021-04-20 16:16:35 +02:00
committed by GitHub
parent dff50686d6
commit 16e79bc3ca
38 changed files with 471 additions and 433 deletions

View File

@ -1,21 +1,20 @@
//fn println(s string) { }
// fn println(s string) { }
//fn test_fn() {
//println('test fn')
// fn test_fn() {
// println('test fn')
//}
fn main() {
println('x64 test')
//i := 0
//for i < 5 {
for _ in 1..5 {
// i := 0
// for i < 5 {
for _ in 1 .. 5 {
println('Hello world from V x64 machine code generator!')
//i++
// i++
}
/*
/*
println('Hello again!')
//test_fn()
println('done')
*/
}