aboutsummaryrefslogtreecommitdiff
path: root/test/fixedbugs/issue10654.go
blob: 0600a801bb280fbd91abb975c04e5e1d3526c181 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// compile

// Copyright 2015 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.

// Issue 10654: Failure to use generated temps
// for function calls etc. in boolean codegen.

package main

var s string

func main() {
	if (s == "this") != (s == "that") {
	}
}