Source file test/fixedbugs/issue47185.dir/main.go

     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 "issue47185.dir/bad"
     9  )
    10  
    11  func main() {
    12  	another()
    13  	bad.Bad()
    14  }
    15  
    16  func another() L {
    17  	m := make(map[string]L)
    18  	return m[""]
    19  }
    20  
    21  type L struct {
    22  	A Data
    23  	B Data
    24  }
    25  
    26  type Data struct {
    27  	F1 [22][]string
    28  }
    29  

View as plain text