Sign in
go
/
tools
/
50c062a2b64ae6bd45d5438e888a0abf38915a6f
/
.
/
refactor
/
eg
/
testdata
/
D1.go
blob: ae0a806050d7ad919c8883c067dc1b7797331567 [
file
] [
log
] [
blame
]
// +build ignore
package D1
import "fmt"
func example() {
fmt.Println(123, "a")
// match
fmt.Println(0x7b, `a`)
// match
fmt.Println(0173, "\x61")
// match
fmt.Println(100+20+3, "a"+"")
// no match: constant expressions, but not basic literals
}