test/fixedbugs/issue46653.dir/main.go
raw| 1 | // Copyright 2021 The Go Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style |
| 3 | // license that can be found in the LICENSE file. |
| 4 | |
| 5 | package main |
| 6 | |
| 7 | import ( |
| 8 | bad "issue46653.dir/bad" |
| 9 | ) |
| 10 | |
| 11 | func main() { |
| 12 | bad.Bad() |
| 13 | } |
| 14 | |
| 15 | func neverCalled() L { |
| 16 | m := make(map[string]L) |
| 17 | return m[""] |
| 18 | } |
| 19 | |
| 20 | type L struct { |
| 21 | A Data |
| 22 | B Data |
| 23 | } |
| 24 | |
| 25 | type Data struct { |
| 26 | F1 [22][]string |
| 27 | } |