Source file test/fixedbugs/issue42587.go

     1  // compile
     2  
     3  // Copyright 2020 The Go Authors. All rights reserved.  Use of this
     4  // source code is governed by a BSD-style license that can be found in
     5  // the LICENSE file.
     6  
     7  package p
     8  
     9  func f() {
    10  	var i, j int
    11  	_ = func() {
    12  		i = 32
    13  		j = j>>i | len([]int{})
    14  	}
    15  }
    16  

View as plain text