mirror of
https://github.com/golang/go
synced 2024-11-19 00:24:41 -07: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>
7 lines
117 B
Go
7 lines
117 B
Go
package good //@diag("package", "")
|
|
|
|
func stuff() { //@item(good_stuff, "stuff()", "", "func")
|
|
x := 5
|
|
random2(x)
|
|
}
|