summaryrefslogtreecommitdiffstats
path: root/test/fixedbugs/issue42587.go
blob: d10ba979d570428ec338aea1af3ee09b5fe23494 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// compile

// Copyright 2020 The Go Authors. All rights reserved.  Use of this
// source code is governed by a BSD-style license that can be found in
// the LICENSE file.

package p

func f() {
	var i, j int
	_ = func() {
		i = 32
		j = j>>i | len([]int{})
	}
}