Initial commit: Go 1.23 release state
This commit is contained in:
28
test/fixedbugs/issue47185.dir/main.go
Normal file
28
test/fixedbugs/issue47185.dir/main.go
Normal file
@@ -0,0 +1,28 @@
|
||||
// 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
|
||||
}
|
||||
Reference in New Issue
Block a user