mirror of
https://github.com/golang/go
synced 2024-11-19 06:14:39 -07:00
4744be3abc
Fixes golang/go#10038 Change-Id: If3243f0c68fc0442dcc1e2dd71cbdc629beff70c Reviewed-on: https://go-review.googlesource.com/6481 Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
13 lines
272 B
Plaintext
13 lines
272 B
Plaintext
// +build ignore
|
|
|
|
package D1
|
|
|
|
import "fmt"
|
|
|
|
func example() {
|
|
fmt.Println(456, "!") // match
|
|
fmt.Println(456, "!") // match
|
|
fmt.Println(456, "!") // match
|
|
fmt.Println(100+20+3, "a"+"") // no match: constant expressions, but not basic literals
|
|
}
|