mirror of
https://github.com/golang/go
synced 2025-05-06 03:31:35 +00:00
last round: non-package code
R=r DELTA=127 (38 added, 3 deleted, 86 changed) OCL=34640 CL=34650
This commit is contained in:
@ -18,13 +18,16 @@ func main() {
|
||||
mp := &m;
|
||||
|
||||
{
|
||||
x, ok := m["key"]
|
||||
x, ok := m["key"];
|
||||
_, _ = x, ok;
|
||||
}
|
||||
{
|
||||
x, ok := (*mp)["key"]
|
||||
x, ok := (*mp)["key"];
|
||||
_, _ = x, ok;
|
||||
}
|
||||
{
|
||||
x, ok := f()["key"]
|
||||
x, ok := f()["key"];
|
||||
_, _ = x, ok;
|
||||
}
|
||||
{
|
||||
var x int;
|
||||
|
Reference in New Issue
Block a user