Source file 
test/codegen/issue68845.go
     1  
     2  
     3  
     4  
     5  
     6  
     7  package codegen
     8  
     9  type T1 struct {
    10  	x string
    11  }
    12  
    13  func f1() *T1 {
    14  	
    15  	return &T1{}
    16  }
    17  
    18  type T2 struct {
    19  	x, y string
    20  }
    21  
    22  func f2() *T2 {
    23  	
    24  	return &T2{}
    25  }
    26  
    27  type T3 struct {
    28  	x complex128
    29  }
    30  
    31  func f3() *T3 {
    32  	
    33  	return &T3{}
    34  }
    35  
    36  type T4 struct {
    37  	x []byte
    38  }
    39  
    40  func f4() *T4 {
    41  	
    42  	return &T4{}
    43  }
    44  
    45  type T5 struct {
    46  	x any
    47  }
    48  
    49  func f5() *T5 {
    50  	
    51  	return &T5{}
    52  }
    53  
View as plain text