mirror of
https://github.com/golang/go
synced 2024-11-25 10:47:56 -07:00
29 lines
385 B
Go
29 lines
385 B
Go
|
// Copyright 2021 The Go Authors. All rights reserved.
|
||
|
// Use of this source code is governed by a BSD-style
|
||
|
// license that can be found in the LICENSE file.
|
||
|
|
||
|
package main
|
||
|
|
||
|
import (
|
||
|
bad "issue47185.dir/bad"
|
||
|
)
|
||
|
|
||
|
func main() {
|
||
|
another()
|
||
|
bad.Bad()
|
||
|
}
|
||
|
|
||
|
func another() L {
|
||
|
m := make(map[string]L)
|
||
|
return m[""]
|
||
|
}
|
||
|
|
||
|
type L struct {
|
||
|
A Data
|
||
|
B Data
|
||
|
}
|
||
|
|
||
|
type Data struct {
|
||
|
F1 [22][]string
|
||
|
}
|