Sign in
go
/
tools
/
c10541a14b3e5db8a9ae9fad7640035745288ab3
/
.
/
refactor
/
eg
/
testdata
/
D1.go
blob: 03a434c8738bc466a5ee59b472a0a4fddac835a1 [
file
] [
log
] [
blame
]
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
}