Black Lives Matter. Support the Equal Justice Initiative.

Source file src/go/internal/gccgoimporter/testdata/issue31540.go

Documentation: go/internal/gccgoimporter/testdata

     1  // Copyright 2019 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 issue31540
     6  
     7  type Y struct {
     8  	q int
     9  }
    10  
    11  type Z map[int]int
    12  
    13  type X = map[Y]Z
    14  
    15  type A1 = X
    16  
    17  type A2 = A1
    18  
    19  type S struct {
    20  	b int
    21  	A2
    22  }
    23  
    24  func Hallo() S {
    25  	return S{}
    26  }
    27  

View as plain text