github.com/goplus/gop@v1.2.6/x/format/_testdata/syntax/format.expect (about)

     1  func f(...T) {
     2  }
     3  
     4  a++
     5  arr := [...]int{1: 3}
     6  m := make(map[string]chan interface{})
     7  for range arr[1:] {
     8  foo:
     9  	*(p) = 1
    10  	println f(arr...)
    11  	m["a"] <- true
    12  }
    13  for i := 0; i < 10; i++ {
    14  	var t *T
    15  	if false {
    16  	} else {
    17  	}
    18  	select {
    19  	case <-m["a"]:
    20  	}
    21  	switch {
    22  	case i == 10:
    23  	}
    24  	switch t.(type) {
    25  	case int:
    26  		defer f()
    27  		go f().println("Hi")
    28  	}
    29  }