golang.org/x/tools@v0.21.0/refactor/eg/testdata/D1.go (about) 1 package D1 2 3 import "fmt" 4 5 func example() { 6 fmt.Println(123, "a") // match 7 fmt.Println(0x7b, `a`) // match 8 fmt.Println(0173, "\x61") // match 9 fmt.Println(100+20+3, "a"+"") // no match: constant expressions, but not basic literals 10 }