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

// Copyright 2018 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

var x struct{}

func f() bool {
	return x == x && x == x
}