mirror of
https://github.com/golang/go
synced 2024-11-06 02:16:10 -07:00
13 lines
259 B
Plaintext
13 lines
259 B
Plaintext
|
// +build ignore
|
||
|
|
||
|
package H1
|
||
|
|
||
|
import "go/ast"
|
||
|
|
||
|
func example() {
|
||
|
_ = ast.BadExpr{From: 123, To: 456} // no match
|
||
|
_ = ast.BadExpr{From: 123, To: 456} // match
|
||
|
_ = ast.BadExpr{From: 123} // no match
|
||
|
_ = ast.BadExpr{To: 456} // no match
|
||
|
}
|