mirror of
https://github.com/golang/go
synced 2024-10-01 03:28:32 -06:00
6e267b5cc7
New tests include cases for anonymous structs, composite literals, ranking of results in binary expressions, and import cycles. Change-Id: Ic02e84e09101bb9873fc1705bba2594d655bb45b Reviewed-on: https://go-review.googlesource.com/c/153443 Reviewed-by: Ian Cottrell <iancottrell@google.com>
14 lines
254 B
Go
14 lines
254 B
Go
// +build go1.11
|
|
|
|
package self
|
|
|
|
import (
|
|
"golang.org/x/tools/internal/lsp/self" //@diag("\"", "could not import golang.org/x/tools/internal/lsp/self (import cycle: [golang.org/x/tools/internal/lsp/self])")
|
|
)
|
|
|
|
func Hello() {}
|
|
|
|
func _() {
|
|
self.Hello()
|
|
}
|