Source file test/fixedbugs/issue19084.go

     1  // compile
     2  
     3  // Copyright 2017 The Go Authors. All rights reserved.
     4  // Use of this source code is governed by a BSD-style
     5  // license that can be found in the LICENSE file.
     6  
     7  // Issue 19084: SSA doesn't handle CONVNOP STRUCTLIT
     8  
     9  package p
    10  
    11  type T struct {
    12  	a, b, c, d, e, f, g, h int // big, not SSA-able
    13  }
    14  
    15  func f() {
    16  	_ = T(T{})
    17  }
    18  

View as plain text