github.com/april1989/origin-go-tools@v0.0.32/refactor/eg/testdata/D1.go (about)

     1  // +build ignore
     2  
     3  package D1
     4  
     5  import "fmt"
     6  
     7  func example() {
     8  	fmt.Println(123, "a")         // match
     9  	fmt.Println(0x7b, `a`)        // match
    10  	fmt.Println(0173, "\x61")     // match
    11  	fmt.Println(100+20+3, "a"+"") // no match: constant expressions, but not basic literals
    12  }