Sign in
go
/
tools
/
2ad651e9e297cfdbf8cf95c55f5347c701de15d3
/
.
/
refactor
/
eg
/
testdata
/
G1.go
blob: 07aaff916c746875b50e746ebadf5cd6e2461083 [
file
]
// +build ignore
package G1
import "go/ast"
func example() {
_ = ast.BadExpr{From: 123, To: 456}
// match
_ = ast.BadExpr{123, 456}
// no match
_ = ast.BadExpr{From: 123}
// no match
_ = ast.BadExpr{To: 456}
// no match
}