Warning, /frameworks/syntax-highlighting/autotests/input/highlight.v is written in an unsupported language. File is not indexed.

0001 // Comment
0002 /**
0003  * comment 2
0004  */
0005 fn main() {
0006         mut s := ''
0007         mut str := 'asd\n'
0008         mut str := 'asd \' asd'
0009         mut str := "asd \" asd"
0010         mut ch := `a`
0011         mut n := 1.2
0012         mut d := 12
0013         for n in 1 .. 101 {
0014                 if n % 3 == 0 {
0015                         s += 'Fizz'
0016                 }
0017                 if n % 5 == 0 {
0018                         s += 'Buzz'
0019                 }
0020                 if s == '' {
0021                         println(n)
0022                 } else {
0023                         println(s)
0024                 }
0025                 s = ''
0026         }
0027 }