Source file test/fixedbugs/issue45693.go

     1  // compile
     2  
     3  // Copyright 2021 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 45693: ICE with register args.
     8  
     9  package p
    10  
    11  func f() {
    12  	var s string
    13  	s = s + "" + s + "" + s + ""
    14  	for {
    15  	}
    16  }
    17  

View as plain text